/* ═══════════════════════════════════════════════════════════════
   ARESA - Foglio di stile principale
   Estetica: editoriale mediterranea, magazine culturale di lusso
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & Custom Properties ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blu-notte:   #0C2040;
  --oro:         #C4913A;
  --crema:       #FDF6E3;
  --crema-dark:  #F0E8D0;
  --terracotta:  #A0522D;
  --testo:       #1a1a18;
  --testo-light: #5a5a52;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;
  --space-2xl: 11rem;

  --container: 1280px;
  --radius:    2px;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-silk: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--testo);
  background: var(--crema);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography scale ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

p {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  color: var(--testo-light);
}

strong { font-weight: 500; color: var(--testo); }

/* ── Utilities ── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 1.5rem;
}

.section-label--light { color: var(--oro); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--testo);
  text-decoration: none;
  border-bottom: 1px solid var(--testo);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.text-link:hover { color: var(--oro); border-color: var(--oro); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease-silk);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blu-notte);
  color: #fff;
  border-color: var(--blu-notte);
}
.btn-primary:hover {
  background: transparent;
  color: var(--blu-notte);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: #fff;
  color: var(--blu-notte);
  border-color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--blu-notte);
  border-color: var(--blu-notte);
}
.btn-outline:hover {
  background: var(--blu-notte);
  color: #fff;
}

.btn-cta {
  background: var(--oro);
  color: #fff;
  border-color: var(--oro);
  font-size: 0.85rem;
  padding: 1.1rem 2.5rem;
}
.btn-cta:hover {
  background: transparent;
  color: var(--oro);
}

.btn-ghost-dark {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.25);
}
.btn-ghost-dark:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.btn-ghost-light {
  background: transparent;
  color: var(--blu-notte);
  border-color: rgba(12, 32, 64, 0.35);
}
.btn-ghost-light:hover {
  background: var(--blu-notte);
  color: #fff;
  border-color: var(--blu-notte);
}

/* ── Reveal animations ── */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.9s var(--ease-expo) calc(var(--d, 0s) + var(--i, 0) * 0.07s),
    transform 0.9s var(--ease-expo) calc(var(--d, 0s) + var(--i, 0) * 0.07s);
}
.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* Late reveal - triggers only when scrolled further down */
.reveal-late {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease-expo) var(--d, 0s),
    transform 0.9s var(--ease-expo) var(--d, 0s);
}
.reveal-late.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-late.out-up {
  opacity: 0;
  transform: translateY(-16px);
  transition:
    opacity 0.5s var(--ease-silk),
    transform 0.5s var(--ease-silk);
}

/* Bidirectional: exit upward (scroll back up) */
.reveal-up.out-up {
  opacity: 0;
  transform: translateY(-20px);
  transition:
    opacity 0.5s var(--ease-silk),
    transform 0.5s var(--ease-silk);
}

/* Opacity-only fade - for elements with background-attachment:fixed (no transform) */
.reveal-fade {
  opacity: 0;
  transition: opacity 0.9s var(--ease-expo) calc(var(--d, 0s) + var(--i, 0) * 0.07s);
}
.reveal-fade.in-view  { opacity: 1; }
.reveal-fade.out-up   { opacity: 0; transition: opacity 0.5s var(--ease-silk); }

/* ─────────────────────────────────────────
   HEADER / NAV
───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease-silk), box-shadow 0.4s;
}

.site-header.scrolled {
  background: rgba(12, 32, 64, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196, 145, 58, 0.28);
}
.site-header.scrolled .logo-mark { color: #fff; }
.site-header.scrolled .logo-mark:hover { color: var(--oro); }
.nav-logo-img { filter: brightness(0); transition: filter 0.4s var(--ease-silk); }
.site-header.scrolled .nav-logo-img { filter: brightness(1); }
.site-header.scrolled .nav-links a { color: rgba(255,255,255,0.8); }
.site-header.scrolled .nav-links a:hover { color: #fff; }
.site-header.scrolled .nav-toggle span { background: #fff; }

.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.logo-mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--blu-notte);
  transition: color 0.3s;
}
.logo-mark:hover { color: var(--oro); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(12, 32, 64, 0.65);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--blu-notte); }

.nav-links .nav-cta a {
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--blu-notte);
  color: var(--blu-notte);
  border-radius: var(--radius);
}
.nav-links .nav-cta a:hover {
  background: var(--blu-notte);
  color: #fff;
}
.site-header.scrolled .nav-links .nav-cta a {
  border-color: var(--oro);
  color: var(--oro);
}
.site-header.scrolled .nav-links .nav-cta a:hover {
  background: var(--oro);
  color: #fff;
}

/* ─────────────────────────────────────────
   NAV DROPDOWN
───────────────────────────────────────── */
.nav-dropdown { position: relative; }

.nav-dropdown > a::after {
  content: '▾';
  font-size: 0.7em;
  margin-left: 0.25em;
  display: inline-block;
  transition: transform 0.2s var(--ease-silk);
  vertical-align: middle;
}
.nav-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  transform: none;
  width: 100%;
  background: rgba(12,32,64,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(196,145,58,0.25);
  list-style: none;
  padding: 0.15rem 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-silk);
  z-index: 200;
}
/* Ponte invisibile che colma il gap tra link e menu */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 0.4rem 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  text-align: left;
  white-space: nowrap;
  transition: color 0.2s, padding-left 0.2s;
  border-bottom: none;
}
.nav-dropdown-menu li a:hover {
  color: var(--oro);
  padding-left: 1.5rem;
}

/* Mobile: dropdown inline nel menu laterale */
@media (max-width: 768px) {
  .nav-dropdown > a::after { display: none; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-left: 1px solid rgba(196,145,58,0.4);
    padding: 0.25rem 0 0.5rem 1rem;
    margin-top: 0.4rem;
    opacity: 1;
    pointer-events: auto;
    min-width: 0;
  }
  .nav-dropdown-menu li a {
    font-size: 0.85rem;
    padding: 0.4rem 0;
    color: rgba(255,255,255,0.65);
  }
  .nav-dropdown-menu li a:hover { padding-left: 0.25rem; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--blu-notte);
  transition: all 0.3s;
}

/* ─────────────────────────────────────────
   HERO - light editorial
───────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--crema);
  overflow: hidden;
}

/* Decorative oversized letter in background */
.hero::before {
  content: 'A';
  position: absolute;
  right: -4vw;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(22rem, 46vw, 56rem);
  font-weight: 300;
  line-height: 1;
  color: var(--blu-notte);
  opacity: 0.032;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin-inline: auto;
  padding: 9rem clamp(1.5rem, 5vw, 4rem) 4rem;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 2.5rem;
  text-align: center;
}

.hero-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 4rem;
  margin-bottom: 1.25rem;
}

/* Crop del pittogramma: il PNG è formato A4, il simbolo è nella zona centrale */
.hero-logo-crop {
  width: 88px;
  height: 96px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.hero-logo-crop img {
  position: absolute;
  width: 333px;
  left: -124px;
  top: -189px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--blu-notte);
  line-height: 1;
  margin: 0;
}

.hero-acronym {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.01em;
  color: var(--testo-light);
  margin-bottom: 5rem;
  line-height: 1.4;
  max-width: 100%;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: clamp(1.5rem, 5vw, 4rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(12, 32, 64, 0.35);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--oro), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

/* ─────────────────────────────────────────
   INTRO SECTION
───────────────────────────────────────── */
.section-intro {
  padding-block: var(--space-xl);
  background: var(--crema);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: end;
  margin-bottom: var(--space-lg);
}

.intro-headline {
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--blu-notte);
}

.intro-headline em {
  font-style: italic;
  color: var(--terracotta);
}

.intro-body p + p { margin-top: 1.25rem; }

.intro-body .text-link { margin-top: 2rem; }

.vision-quote {
  padding: 1rem 0;
  margin-block: 2rem 0;
}
.vision-quote p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-style: italic;
  color: var(--blu-notte);
  line-height: 1.6;
}

.vision-quote--inline {
  background: rgba(196,145,58,0.07);
  border-left: 3px solid var(--oro);
  padding: 1.25rem 1.5rem;
  margin-block: 2rem;
  border-radius: 0 4px 4px 0;
}
.vision-quote--inline p {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
}

.intro-pillars {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(27,58,92,0.15);
  border-bottom: 1px solid rgba(27,58,92,0.15);
  padding-block: 2.5rem;
}

.pillar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--oro);
}

.pillar-label {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--blu-notte);
  letter-spacing: 0.05em;
}

.pillar-divider {
  width: 1px;
  height: 3rem;
  background: rgba(27,58,92,0.2);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   SECTION DIVIDER - gold rule reveal
───────────────────────────────────────── */
.section-divider {
  height: 1px;
  background: var(--oro);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease-expo);
  margin-inline: clamp(1.5rem, 5vw, 4rem);
  opacity: 0.45;
}
.section-divider.in-view {
  transform: scaleX(1);
}

/* ─────────────────────────────────────────
   FEATURE - SUMMER SCHOOL (stacked layout)
───────────────────────────────────────── */
.section-feature {
  background: var(--crema);
}

/* Text content on cream */
.feature-content-col {
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--space-xl) clamp(1.5rem, 5vw, 4rem) var(--space-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Full-width cinematic strip below text */
.feature-image-col {
  position: relative;
  height: 55vh;
  overflow: hidden;
}

.feature-image-placeholder {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(160,82,45,0.70), rgba(160,82,45,0.70)),
    url('../assets/images/image.png');
  background-size: auto, cover;
  background-position: center, center;
  background-attachment: scroll, fixed;
  background-repeat: no-repeat, no-repeat;
  background-color: #A0522D;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
}

/* Decorative grid lines */
.feature-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196,145,58,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,145,58,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.feature-image-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 300;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.feature-badge {
  position: relative;
  z-index: 1;
  background: var(--oro);
  color: #fff;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  align-self: flex-start;
}
.feature-badge span {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}
.feature-badge strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: #fff;
}

.feature-year-bg {
  position: absolute;
  top: -0.5rem;
  right: -1rem;
  font-family: var(--font-display);
  font-size: clamp(7rem, 16vw, 14rem);
  font-weight: 300;
  color: var(--blu-notte);
  opacity: 0.055;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.04em;
}

.feature-content-col > *:not(.feature-year-bg) {
  position: relative;
  z-index: 1;
}

.feature-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--blu-notte);
  margin-bottom: 0.75rem;
}
.feature-title em {
  font-style: italic;
  color: var(--terracotta);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: end;
}

.feature-left {
  display: flex;
  flex-direction: column;
}

.feature-body {
  max-width: 44ch;
  font-size: 1.05rem;
}

.feature-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}


.feature-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.feature-meta li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--testo);
}
.meta-icon { color: var(--oro); font-size: 0.7rem; }

.feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ─────────────────────────────────────────
   TEMI SECTION
───────────────────────────────────────── */
.section-temi {
  background: var(--crema);
  padding-block: var(--space-xl);
  border-top: 1px solid rgba(27,58,92,0.1);
}

.temi-header {
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.temi-title {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  color: var(--blu-notte);
  max-width: 20ch;
}

.temi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid rgba(27,58,92,0.12);
  border-top: 1px solid rgba(27,58,92,0.12);
}

.tema-card {
  position: relative;
  padding: clamp(2rem, 3vw, 3rem) clamp(1.5rem, 2.5vw, 2.5rem);
  border-right: 1px solid rgba(27,58,92,0.12);
  border-bottom: 1px solid rgba(27,58,92,0.12);
  background: var(--crema);
  transition: background 0.4s var(--ease-silk);
  overflow: hidden;
}

.tema-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--oro);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-expo);
}

.tema-card:hover { background: var(--crema-dark); }
.tema-card:hover::before { transform: scaleX(1); }

.tema-num {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(27,58,92,0.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.tema-icon {
  width: 48px;
  height: 48px;
  color: var(--oro);
  margin-bottom: 1.5rem;
  transition: transform 0.4s var(--ease-expo);
}
.tema-card:hover .tema-icon { transform: scale(1.1); }

.tema-name {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  color: var(--blu-notte);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.tema-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--testo-light);
}

/* ─────────────────────────────────────────
   QUOTE SECTION
───────────────────────────────────────── */
.section-quote {
  background: var(--blu-notte);
  padding-block: var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-quote::before {
  content: '"';
  position: absolute;
  top: -3rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 25rem;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.quote-block {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
  margin-bottom: 2rem;
}

.quote-attr {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: var(--font-body);
  font-style: normal;
}
.quote-attr span { color: var(--oro); font-size: 0.85rem; letter-spacing: 0.1em; }
.quote-attr-note { color: rgba(255,255,255,0.4); font-size: 0.75rem; letter-spacing: 0.05em; }

.quote-commentary {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.03em;
  max-width: 50ch;
  margin-inline: auto;
}

/* ─────────────────────────────────────────
   LUOGO SECTION
───────────────────────────────────────── */
.section-luogo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
}

.luogo-content {
  padding: clamp(3rem, 7vw, 7rem) clamp(2rem, 5vw, 5rem);
  background: var(--crema);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(27,58,92,0.1);
}

.luogo-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--blu-notte);
  margin-bottom: 2rem;
  line-height: 1;
}

.luogo-body {
  max-width: 44ch;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.luogo-body + .text-link { margin-top: 1rem; }

.luogo-visual {
  background: var(--crema-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.luogo-placeholder {
  text-align: center;
  font-family: var(--font-display);
}
.luogo-placeholder p:first-child {
  font-size: clamp(2.5rem, 5vw, 5rem);
  color: rgba(27,58,92,0.15);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1;
}
.luogo-placeholder p:last-child {
  font-size: 0.8rem;
  color: rgba(27,58,92,0.3);
  letter-spacing: 0.25em;
  margin-top: 0.75rem;
  font-family: var(--font-body);
}

.luogo-tag {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  background: var(--blu-notte);
  color: #fff;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.luogo-tag strong {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oro);
}
.luogo-tag span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
}

/* ─────────────────────────────────────────
   CTA SECTION
───────────────────────────────────────── */
.section-cta {
  background: var(--terracotta);
  padding-block: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: 'ARESA';
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(10rem, 20vw, 20rem);
  font-weight: 300;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

.cta-inner {
  max-width: 700px;
}

.cta-title {
  font-size: clamp(2.5rem, 6vw, 6rem);
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1;
}
.cta-title em { font-style: italic; color: rgba(255,255,255,0.75); }

.cta-body {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 50ch;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ─────────────────────────────────────────
   CTA multi-track
───────────────────────────────────────── */
.cta-multi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  width: 100%;
}
.cta-track {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.cta-track:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.35);
}
.cta-track-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
}
.cta-track-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}
@media (max-width: 768px) {
  .cta-multi { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
  background: var(--testo);
  color: rgba(255,255,255,0.6);
  padding-block: var(--space-lg);
}

.footer-statement {
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--space-lg) clamp(1.5rem, 5vw, 4rem) var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-statement p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(253, 246, 227, 0.82);
  line-height: 1.4;
  max-width: 28ch;
}

.footer-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(3rem, 5vw, 6rem);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #fff;
  display: block;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-legal {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.3);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 0.5rem;
}

.footer-col-title {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col ul a:hover { color: #fff; }

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.footer-social a {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.4rem 0.7rem;
  transition: all 0.3s;
}
.footer-social a:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.footer-bottom {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}

/* ─────────────────────────────────────────
   RESPONSIVE - Tablet
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .temi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ─────────────────────────────────────────
   RESPONSIVE - Mobile
───────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
  }

  /* Nav mobile */
  .nav-toggle { display: flex; z-index: 10; }

  /* Header sempre visibile su mobile: sfondo scuro permanente.
     backdrop-filter rimosso anche nello stato .scrolled: se applicato,
     i figli position:fixed vengono posizionati rispetto all'header
     invece che al viewport, rendendo la sidebar invisibile. */
  .site-header,
  .site-header.scrolled {
    background: rgba(12, 32, 64, 0.95);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-logo-img { filter: brightness(1); }
  .nav-toggle span { background: #fff; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(65vw, 260px);
    background: var(--blu-notte);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5rem 2.5rem 2.5rem;
    gap: 1.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-expo);
    z-index: 9;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 0.85rem; color: rgba(255,255,255,0.9); }
  .nav-links a:hover { color: #fff; }
  /* Contatti (nav-cta): colore esplicito bianco su sfondo scuro */
  .nav-links .nav-cta a { color: rgba(255,255,255,0.9); background: transparent; border-color: var(--oro); }
  .nav-links .nav-cta a:hover { background: var(--oro); color: #fff; }
  /* Pagina attiva: oro (coerente col desktop) */
  .nav-links .nav-active { color: var(--oro) !important; }

  /* Nav toggle animation */
  .nav-toggle.open span:first-child {
    transform: translateY(6.5px) rotate(45deg);
  }
  .nav-toggle.open span:last-child {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  /* Sections */
  .intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-image-col { height: 40vh; }
  .feature-grid { grid-template-columns: 1fr; }
  .temi-grid { grid-template-columns: 1fr; }
  .section-luogo { grid-template-columns: 1fr; }
  .luogo-visual { min-height: 30vh; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-title { font-size: clamp(5rem, 22vw, 9rem); }
}

@media (max-width: 480px) {
  .footer-nav { grid-template-columns: 1fr; }
  .intro-pillars { flex-direction: column; gap: 1.5rem; }
  .pillar-divider { width: 3rem; height: 1px; }
}

/* ─────────────────────────────────────────
   VISION SECTION - parallax card
───────────────────────────────────────── */
.section-vision {
  background: var(--crema);
  padding-block: var(--space-xl);
}
.section-vision--sm {
  padding-block: 0.75rem;
}
.section-vision--sm .vision-centerpiece {
  max-width: 780px;
  padding-inline: clamp(1rem, 3vw, 2rem);
}
.section-vision--sm .vision-centerpiece p {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

.vision-centerpiece {
  max-width: 960px;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  position: relative;

  /* parallax card con foto */
  background-image:
    linear-gradient(rgba(160,82,45,0.70), rgba(160,82,45,0.70)),
    url('../assets/images/image.png');
  background-size: auto, cover;
  background-position: center, center;
  background-attachment: scroll, fixed;
  background-repeat: no-repeat, no-repeat;
  background-color: #A0522D;
  padding-block: clamp(4rem, 8vw, 7rem);
  text-align: center;
}

.vision-centerpiece::before { display: none; }

.vision-centerpiece p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(253,246,227,0.92);
  line-height: 1.4;
  max-width: 24ch;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────
   INTRO - reset margin when pillars absent
───────────────────────────────────────── */
.section-intro .intro-grid {
  margin-bottom: 0;
}

/* ─────────────────────────────────────────
   FEATURE - simplified date/place details
───────────────────────────────────────── */
.feature-details {
  display: flex;
  gap: 3rem;
  margin-bottom: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(27,58,92,0.15);
}

.feature-detail {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.feature-detail-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oro);
}

.feature-detail-value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--blu-notte);
  line-height: 1.3;
}

/* ─────────────────────────────────────────
   CTA - modifiers
───────────────────────────────────────── */
.section-cta--notte {
  background: var(--blu-notte);
}

.section-cta--notte::before {
  color: rgba(255,255,255,0.03);
}

.cta-inner--centered {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.cta-actions--centered {
  justify-content: center;
}

@media (max-width: 480px) {
  .feature-details { gap: 2rem; }
  .vision-centerpiece p { max-width: 100%; }
}
