:root {
  --aubergine: #652a78;
  --aubergine-2: #7b3c8a;
  --gold: #b88a45;
  --gold-light: #efcf91;
  --gold-text: #82521d;
  --ivory: #f7eee1;
  --paper: #fbf6ef;
  --ink: #56365e;
  --muted: #755d7d;
  --lavender: #9f7f9e;
  --line: rgba(131, 91, 63, .22);
  --shadow: 0 24px 70px rgba(43, 24, 51, .14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 5%, rgba(216,177,108,.11), transparent 25rem),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  background: #fff;
  color: var(--aubergine);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 .85rem;
  color: var(--gold-text);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow::before,
.eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .75; }
.eyebrow.left::before { display: none; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3rem, 6.5vw, 6.8rem); line-height: .92; letter-spacing: -.035em; }
h2 { font-size: clamp(2.25rem, 4.2vw, 4.4rem); line-height: 1.04; letter-spacing: -.025em; }
h3 { font-size: 1.55rem; line-height: 1.2; }
.lead { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.45; }
.muted { color: var(--muted); }
.gold { color: var(--gold-text); }
.center { text-align: center; }
.section { position: relative; padding: clamp(5rem, 9vw, 8rem) 0; }

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  height: 106px;
  display: flex;
  align-items: center;
  background: rgba(248,239,226,.94);
  border-bottom: 1px solid rgba(184,138,69,.15);
  backdrop-filter: blur(16px);
  transition: height .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { height: 88px; box-shadow: 0 10px 35px rgba(44,24,51,.1); }
.header-inner { width: min(1280px, calc(100% - 36px)); margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { flex: 0 0 auto; text-decoration: none; }
.brand img { width: 96px; height: 96px; object-fit: contain; mix-blend-mode: multiply; }
.nav-list { display: flex; align-items: center; gap: clamp(1.2rem, 2vw, 2.3rem); margin: 0; padding: 0; list-style: none; }
.nav-link { position: relative; text-decoration: none; color: var(--aubergine); font-family: var(--serif); font-size: .98rem; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.45rem; height: 1px; background: var(--gold); transition: right .25s ease; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { right: 0; }
.nav-coming { display: inline-flex; align-items: center; gap: .45rem; }
.nav-coming small { padding: .12rem .35rem; border: 1px solid rgba(130,82,29,.45); border-radius: 99px; color: var(--gold-text); font: 700 .55rem/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; }
.header-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  min-height: 50px;
  padding: .82rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--aubergine);
  color: #fff9f0;
  font-family: var(--serif);
  font-size: .96rem;
  letter-spacing: .055em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover, .header-cta:hover { transform: translateY(-2px); background: var(--aubergine-2); box-shadow: 0 12px 30px rgba(44,24,51,.18); }
.button.gold-button { background: var(--gold); color: var(--aubergine); }
.button.ghost { background: transparent; border-color: rgba(44,24,51,.28); color: var(--aubergine); }
.button.light-ghost { background: transparent; border-color: rgba(255,255,255,.42); color: #fff; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 10px; border: 0; background: transparent; color: var(--aubergine); cursor: pointer; }
.menu-toggle span { display: block; width: 25px; height: 1px; margin: 6px auto; background: currentColor; transition: transform .25s, opacity .25s; }
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  min-height: min(900px, 100vh);
  padding-top: 106px;
  display: grid;
  align-items: center;
  background: var(--ivory);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 106px 0 0;
  background: linear-gradient(90deg, rgba(251,246,239,.99) 0%, rgba(251,246,239,.96) 31%, rgba(251,246,239,.52) 48%, rgba(251,246,239,.06) 68%, transparent 100%), url("../images/hero-artemide-v3.webp") 66% center/cover no-repeat;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 15%; background: linear-gradient(transparent, rgba(251,246,239,.35)); pointer-events: none; }
.hero-content { position: relative; z-index: 1; width: min(660px, 53%); padding: clamp(4rem, 8vh, 7rem) 0; text-shadow: 0 1px 0 rgba(255,255,255,.55); }
.hero-symbol { width: 72px; height: 72px; margin-bottom: 1rem; color: var(--gold-text); }
.hero h1 { color: var(--aubergine); margin-bottom: 1.35rem; }
.hero .lead { max-width: 580px; margin-bottom: 1.65rem; color: #6a4574; }
.hero .eyebrow {
  padding: .48rem .72rem;
  border: 1px solid rgba(120, 75, 42, .24);
  border-left: 3px solid var(--gold);
  border-radius: 2px;
  background: rgba(251,246,239,.9);
  color: #6b297d;
  box-shadow: 0 5px 18px rgba(44,24,51,.07);
  text-shadow: none;
  backdrop-filter: blur(7px);
}
.hero .eyebrow::after { background: #70407a; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-note { margin: 1.2rem 0 0; font-size: .86rem; color: var(--muted); }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 1.6rem; transform: translateX(-50%); display: grid; justify-items: center; color: var(--aubergine); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; }
.scroll-cue span { display: block; width: 1px; height: 35px; margin-top: .55rem; background: linear-gradient(var(--gold), transparent); }

.intro { background: var(--paper); }
.intro-head { max-width: 830px; margin: 0 auto 3.5rem; text-align: center; }
.intro-head h2 { margin-bottom: 1.25rem; color: var(--aubergine); }
.threshold-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.threshold { padding: 2.3rem 1.6rem; text-align: center; border-left: 1px solid var(--line); }
.threshold:first-child { border-left: 0; }
.threshold-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 1rem; border: 1px solid rgba(130,82,29,.5); border-radius: 50%; color: var(--gold-text); font: 1.7rem var(--serif); }
.threshold h3 { margin-bottom: .55rem; color: var(--aubergine); }
.threshold p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }

.manifesto { padding: 0; background: var(--ivory); overflow: hidden; }
.manifesto-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 680px; }
.manifesto-image { background: linear-gradient(90deg, transparent 75%, var(--ivory)), url("../images/soglia-tempio.webp") center/cover no-repeat; }
.manifesto-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 7vw, 7rem); }
.manifesto-copy h2 { margin-bottom: 1.3rem; color: var(--aubergine); }
.manifesto-copy p { max-width: 580px; }

.needs { background: var(--aubergine); color: #f9f1e7; }
.needs::before { content: ""; position: absolute; inset: 0; opacity: .18; background: radial-gradient(circle at 10% 20%, var(--lavender), transparent 27%), radial-gradient(circle at 88% 80%, var(--gold), transparent 20%); }
.needs .container { position: relative; }
.needs-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.needs h2 { margin-bottom: 0; }
.needs-head p { margin: 0; color: #d9cad5; }
.needs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(216,177,108,.24); border: 1px solid rgba(216,177,108,.24); }
.need-card { min-height: 230px; padding: 2rem; background: rgba(44,24,51,.88); }
.need-no { color: var(--gold-light); font: italic 1rem var(--serif); }
.need-card h3 { margin: 1.5rem 0 .6rem; color: #fff; }
.need-card p { margin: 0; color: #cfbecb; font-size: .93rem; }

.how { background: var(--paper); }
.how-head { max-width: 720px; margin-bottom: 3rem; }
.how-head h2 { color: var(--aubergine); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
.step { position: relative; padding: 2.3rem; background: #fffaf3; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(44,24,51,.04); }
.step-no { display: block; margin-bottom: 2rem; color: var(--gold-text); font: 2.7rem var(--serif); }
.step h3 { color: var(--aubergine); }
.step p { margin-bottom: 0; color: var(--muted); }

.paths-preview { background: linear-gradient(135deg, #efe2d2, #f9f4ec); }
.paths-wrap { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.paths-copy h2 { color: var(--aubergine); }
.coming-badge { display: inline-block; margin-bottom: 1.5rem; padding: .38rem .75rem; border: 1px solid var(--gold-text); border-radius: 99px; color: var(--gold-text); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.path-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.path-card { position: relative; min-height: 175px; padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border: 1px solid rgba(184,138,69,.3); background: rgba(255,255,255,.5); }
.path-card::after { content: "Presto"; position: absolute; top: 1rem; right: 1rem; padding: .25rem .5rem; background: rgba(44,24,51,.07); color: var(--aubergine); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.path-card-icon { position: absolute; top: 1rem; left: 1rem; color: var(--gold-text); font: 2rem var(--serif); }
.path-card h3 { margin-bottom: .3rem; color: var(--aubergine); }
.path-card p { margin: 0; color: var(--muted); font-size: .87rem; }

.origin { background: var(--paper); }
.origin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 8rem); align-items: center; }
.origin-mark { position: relative; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: radial-gradient(circle, rgba(216,177,108,.24), rgba(216,177,108,.03) 57%, transparent 58%); }
.origin-mark::before, .origin-mark::after { content: ""; position: absolute; inset: 11%; border: 1px solid rgba(184,138,69,.2); border-radius: 50%; }
.origin-mark::after { inset: 23%; }
.origin-mark span { color: var(--gold-text); font: clamp(4rem, 11vw, 8rem) var(--serif); }
.origin-copy h2 { color: var(--aubergine); }

.join { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--aubergine); color: #fff; }
.join-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 8rem); align-items: start; }
.join h2 { color: #fff; }
.join p { color: #d8c9d4; }
.interest-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { color: #f4e9f1; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid rgba(216,177,108,.4);
  border-radius: 2px;
  padding: .9rem 1rem;
  background: rgba(255,255,255,.06);
  color: #fff;
  outline: none;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; color-scheme: dark; background-image: linear-gradient(45deg, transparent 50%, var(--gold-light) 50%), linear-gradient(135deg, var(--gold-light) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field select option { color: var(--ink); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #bdaeb9; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold-light); box-shadow: 0 0 0 3px rgba(216,177,108,.12); }
.check { grid-column: 1 / -1; display: flex; gap: .75rem; align-items: flex-start; color: #cfbecb; font-size: .83rem; }
.check input { margin-top: .27rem; accent-color: var(--gold); }
.check a { color: var(--gold-light); }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-status { margin: 0; color: var(--gold-light); font-size: .88rem; }

.page-hero { min-height: 520px; padding: 178px 0 90px; display: grid; align-items: center; color: #fff; background: linear-gradient(90deg, rgba(82,30,98,.97), rgba(58,20,70,.78)), url("../images/soglia-tempio.webp") center/cover no-repeat; }
.page-hero h1 { max-width: 850px; margin-bottom: 1.3rem; font-size: clamp(3.2rem, 7vw, 6.2rem); }
.page-hero .lead { max-width: 720px; color: #eadde6; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero-light { color: var(--aubergine); background: linear-gradient(90deg, rgba(251,246,239,.98) 0%, rgba(251,246,239,.9) 47%, rgba(251,246,239,.4) 75%, rgba(251,246,239,.18) 100%), url("../images/soglia-tempio.webp") center/cover no-repeat; }
.page-hero-light h1 { text-shadow: 0 1px 0 rgba(255,255,255,.75); }
.page-hero-light .lead { color: #5f4265; text-shadow: 0 1px 0 rgba(255,255,255,.65); }
.page-hero-light .eyebrow { color: #67316f; }
.page-content { background: var(--paper); }
.content-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 8vw, 9rem); }
.content-aside { color: var(--gold-text); font: italic 1.4rem/1.5 var(--serif); }
.prose h2 { margin: 2.8rem 0 1rem; font-size: clamp(2rem, 3vw, 3rem); color: var(--aubergine); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #624f66; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.value { padding: 1.5rem; border: 1px solid var(--line); background: #fffaf4; }
.value h3 { color: var(--aubergine); }

.coming-page { min-height: 100vh; padding: 150px 0 80px; display: grid; align-items: center; background: linear-gradient(90deg, rgba(251,246,239,.97) 0%, rgba(251,246,239,.82) 45%, rgba(251,246,239,.08) 75%), url("../images/hero-tempio.webp") 64% center/cover no-repeat; }
.coming-panel { max-width: 640px; }
.coming-panel h1 { margin-bottom: 1rem; color: var(--aubergine); }
.coming-panel .lead { color: #604b5a; }
.coming-note { padding: 1.3rem 1.5rem; margin: 2rem 0; border-left: 2px solid var(--gold); background: rgba(255,255,255,.65); }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.team-card { padding: 2rem; border: 1px solid var(--line); background: #fffaf4; }
.team-card .initial { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 1.2rem; border: 1px solid var(--gold-text); border-radius: 50%; color: var(--gold-text); font: 1.5rem var(--serif); }
.team-card h3 { margin-bottom: .2rem; color: var(--aubergine); }
.team-card .role { color: var(--gold-text); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.thank-you { min-height: 100vh; padding: 140px 0 80px; display: grid; place-items: center; text-align: center; background: var(--ivory); }
.thank-you-card { max-width: 680px; padding: 3rem; border: 1px solid var(--line); background: rgba(255,255,255,.72); box-shadow: var(--shadow); }
.thank-you h1 { color: var(--aubergine); font-size: clamp(3rem, 7vw, 5.5rem); }

.site-footer { padding: 3rem 0 1.5rem; background: #32143d; color: #e2d5df; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 3rem; align-items: start; }
.footer-brand img { width: 178px; margin-bottom: 1rem; padding: .35rem; background: #f4e6d2; border-radius: 3px; }
.footer-brand p { max-width: 440px; font-size: .9rem; }
.footer-title { margin-bottom: .8rem; color: var(--gold-light); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links a { color: #d5c6d1; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .76rem; color: #a996a4; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .header-cta { display: none; }
  .menu-toggle { display: block; position: relative; z-index: 1002; }
  .site-nav { position: fixed; z-index: 1001; inset: 0; display: grid; place-items: center; padding: 90px 24px 40px; background: radial-gradient(circle at 20% 10%, rgba(184,138,69,.18), transparent 30%), linear-gradient(145deg, #6a2c7c, #32133d 75%); transform: translateX(100%); transition: transform .3s ease; }
  .nav-open .site-nav { transform: none; }
  .nav-open .menu-toggle { color: #fff8ef; }
  .nav-list { width: min(430px, 100%); flex-direction: column; gap: .25rem; }
  .nav-list li { width: 100%; border-bottom: 1px solid rgba(239,207,145,.2); text-align: center; }
  .nav-list li:last-child { border-bottom: 0; }
  .nav-link { display: inline-flex; justify-content: center; width: 100%; padding: .95rem .55rem; color: #fffaf4; font-size: 1.48rem; font-weight: 600; letter-spacing: .035em; text-shadow: 0 2px 12px rgba(0,0,0,.28); }
  .nav-link::after { bottom: .6rem; background: var(--gold-light); }
  .nav-coming small { padding: .28rem .48rem; border: 0; background: var(--gold-light); color: #4f1d5c; font-size: .61rem; text-shadow: none; }
  .hero-content { width: min(620px, 67%); }
  .threshold-grid { grid-template-columns: repeat(2, 1fr); }
  .threshold:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .threshold:nth-child(4) { border-top: 1px solid var(--line); }
  .needs-grid { grid-template-columns: repeat(2, 1fr); }
  .paths-wrap, .origin-grid, .join-grid { grid-template-columns: 1fr; }
  .origin-mark { max-width: 430px; }
}

@media (max-width: 760px) {
  .container, .narrow { width: min(100% - 28px, 1180px); }
  .site-header, .site-header.scrolled { height: 78px; }
  .brand img { width: 70px; height: 70px; }
  .hero { min-height: 800px; padding-top: 78px; align-items: end; }
  .hero::before { inset: 78px 0 0; background: linear-gradient(0deg, rgba(251,246,239,.995) 0%, rgba(251,246,239,.96) 42%, rgba(251,246,239,.18) 70%), url("../images/hero-artemide-v3.webp") 76% top/auto 58% no-repeat, var(--ivory); }
  .hero-content { width: 100%; padding: 23rem 0 5rem; }
  .hero-symbol { width: 55px; height: 55px; }
  .hero h1 { font-size: clamp(3.3rem, 15vw, 5rem); }
  .hero .lead { font-size: 1.15rem; }
  .hero .eyebrow { max-width: 100%; padding: .55rem .68rem; color: var(--aubergine); font-size: .78rem; line-height: 1.35; letter-spacing: .13em; background: rgba(251,246,239,.96); }
  .hero .eyebrow::after { width: 18px; }
  .scroll-cue { display: none; }
  .threshold-grid, .needs-grid, .steps, .needs-head, .manifesto-grid, .content-grid, .footer-grid { grid-template-columns: 1fr; }
  .threshold { border-left: 0; border-top: 1px solid var(--line); }
  .threshold:first-child { border-top: 0; }
  .manifesto-image { min-height: 440px; background: linear-gradient(0deg, var(--ivory), transparent 25%), url("../images/soglia-tempio.webp") 40% center/cover no-repeat; }
  .manifesto-copy { padding: 3.5rem 1.4rem 5rem; }
  .needs-head { align-items: start; }
  .path-cards, .values, .team-grid { grid-template-columns: 1fr; }
  .interest-form { grid-template-columns: 1fr; }
  .field.full, .check, .form-actions { grid-column: auto; }
  .page-hero { min-height: 500px; padding: 140px 0 70px; }
  .coming-page { padding-top: 120px; background: linear-gradient(0deg, rgba(251,246,239,.99) 0%, rgba(251,246,239,.89) 55%, rgba(251,246,239,.3) 100%), url("../images/hero-tempio.webp") 68% top/auto 58% no-repeat, var(--ivory); }
  .coming-panel { padding-top: 16rem; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Versione 6: logo integrato, allineamenti editoriali e selettore lingua */
h1, h2, h3, .lead { text-wrap: balance; }
p { text-wrap: pretty; }

.site-header { height: 112px; }
.site-header.scrolled { height: 92px; }
.header-inner { gap: 1rem; }
.brand { display: grid; place-items: center; min-width: 118px; }
.brand img {
  width: 118px;
  height: auto;
  max-height: 102px;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: drop-shadow(0 4px 7px rgba(73,38,18,.18));
}
.hero { padding-top: 112px; }
.hero::before { top: 112px; }

.intro-head,
.how-head { max-width: 860px; margin-inline: auto; text-align: center; }
.needs-head { display: block; max-width: 900px; margin: 0 auto 3.2rem; text-align: center; }
.needs-head p { max-width: 760px; margin: 1.15rem auto 0; }
.step { text-align: center; }
.step p { max-width: 31rem; margin-inline: auto; }
.manifesto-copy { align-items: center; text-align: center; }
.manifesto-copy p { margin-inline: auto; }
.paths-copy,
.origin-copy { text-align: center; }
.paths-copy p,
.origin-copy p { max-width: 650px; margin-inline: auto; }

.page-hero > .container { max-width: 970px; text-align: center; }
.page-hero h1,
.page-hero .lead { margin-left: auto; margin-right: auto; }
.content-aside { max-width: 620px; margin-inline: auto; text-align: center; }
.prose h2 { text-align: center; }
.prose > p { max-width: 790px; margin-left: auto; margin-right: auto; text-align: left; }
.values .value { text-align: center; }
.team-card h3,
.team-card .role { text-align: center; }
.team-card > p:not(.role) { text-align: left; }
.join-grid > div:first-child { text-align: center; }
.join-grid > div:first-child p { max-width: 580px; margin-left: auto; margin-right: auto; }
.field label,
.check { text-align: left; }

.footer-grid { align-items: start; text-align: center; }
.footer-brand { display: grid; justify-items: center; }
.footer-brand img {
  width: min(270px, 100%);
  height: auto;
  margin: 0 auto 1rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.22));
}
.footer-brand p { margin-inline: auto; text-align: center; }
.footer-links { display: grid; justify-items: center; gap: .2rem; }
.footer-bottom { align-items: center; text-align: center; }

.language-switcher {
  position: relative;
  z-index: 1003;
  display: inline-flex;
  flex: 0 0 auto;
  gap: .18rem;
  padding: .23rem;
  border: 1px solid rgba(101,42,120,.22);
  border-radius: 99px;
  background: rgba(255,250,244,.72);
  backdrop-filter: blur(8px);
}
.language-switcher button {
  min-width: 30px;
  height: 28px;
  padding: 0 .38rem;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--aubergine);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .06em;
  cursor: pointer;
}
.language-switcher button:hover,
.language-switcher button[aria-pressed="true"] { background: var(--aubergine); color: #fff; }
.language-switcher--floating { position: fixed; z-index: 20; top: 1rem; right: 1rem; }

@media (max-width: 1180px) {
  .header-cta { padding-inline: 1rem; }
  .nav-list { gap: 1.15rem; }
  .brand img { width: 106px; }
}

@media (max-width: 1020px) {
  .site-header,
  .site-header.scrolled { height: 82px; }
  .header-inner { gap: .45rem; }
  .brand { min-width: 76px; margin-right: auto; }
  .brand img { width: 78px; max-height: 72px; }
  .language-switcher { margin-left: auto; }
  .hero { padding-top: 82px; }
  .hero::before { top: 82px; }
  .nav-open .language-switcher { border-color: rgba(255,255,255,.25); background: rgba(49,18,59,.74); }
  .nav-open .language-switcher button { color: #fff; }
  .nav-open .language-switcher button[aria-pressed="true"] { background: var(--gold-light); color: #4f1d5c; }

  .site-nav {
    background: #32133d;
    isolation: isolate;
  }
  .site-nav::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
      radial-gradient(circle at 50% 4%, rgba(220,176,91,.18), transparent 33%),
      linear-gradient(155deg, #6a2c7c 0%, #451c53 42%, #2b1035 100%);
  }
  .nav-list {
    gap: .65rem;
    padding: .75rem;
    border: 1px solid rgba(239,207,145,.36);
    border-radius: 18px;
    background: rgba(34,10,43,.72);
    box-shadow: 0 24px 70px rgba(10,2,15,.42);
    backdrop-filter: blur(14px);
  }
  .nav-list li {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 11px;
    background: rgba(255,255,255,.065);
  }
  .nav-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-link {
    min-height: 56px;
    align-items: center;
    padding: .8rem 1rem;
    color: #fffdf9;
    text-shadow: 0 2px 5px rgba(0,0,0,.68);
  }
  .nav-link:hover,
  .nav-link:focus-visible,
  .nav-link[aria-current="page"] {
    background: rgba(218,171,82,.16);
    color: #fff;
    outline: none;
  }
  .nav-link small {
    margin-left: .55rem;
    padding: .18rem .45rem;
    border: 1px solid rgba(239,207,145,.5);
    border-radius: 99px;
    background: rgba(20,5,26,.48);
    color: #f5d68e;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-shadow: none;
  }
}

@media (max-width: 760px) {
  .hero-content { text-align: center; }
  .hero-symbol { margin-left: auto; margin-right: auto; }
  .hero .eyebrow { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-note { max-width: 34rem; margin-left: auto; margin-right: auto; }
  .threshold,
  .need-card,
  .path-card { text-align: center; }
  .path-card-icon { left: 50%; transform: translateX(-50%); }
  .origin-mark { margin-inline: auto; }
  .content-aside { font-size: 1.22rem; }
  .prose > p,
  .team-card > p:not(.role) { text-align: left; }
  .footer-grid { gap: 2.25rem; }
  .footer-bottom { align-items: center; }
  .language-switcher button { min-width: 28px; padding-inline: .3rem; }
}
