/* ==========================================================================
   Gabrielle Croix — stile del sito
   ========================================================================== */

@font-face {
  font-family: "Marcovaldo";
  src: url("../fonts/Marcovaldo-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette */
  --bg: #141312;            /* carbone molto scuro */
  --bg-raised: #1b1a19;     /* superfici leggermente sollevate */
  --slate: #1A272F;         /* secondo colore scuro */
  --accent: #96362D;        /* colore di highlight */
  --accent-hover: #ab4236;
  --accent-text: #d0766a;   /* tinta del highlight leggibile su fondo scuro, per testi piccoli */
  --ivory: #F2EADB;         /* bianco avorio caldo */
  --ivory-muted: #B8AFA1;
  --ivory-faint: #7d766c;
  --line: rgba(242, 234, 219, 0.12);
  --line-strong: rgba(242, 234, 219, 0.24);

  /* Tipografia */
  --font-display: "Marcovaldo", "Playfair Display", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --gutter: clamp(1rem, 4vw, 3rem);
  --maxw: 1240px;
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 2px;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* grana leggera su tutta la pagina */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }

a { color: inherit; }

::selection { background: var(--accent); color: var(--ivory); }

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 200;
  background: var(--accent);
  padding: 0.5rem 1rem;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(20, 19, 18, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-decoration: none;
  letter-spacing: 0.005em;
  line-height: 1;
}
.brand span { color: var(--accent-text); }

.nav-list {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory-muted);
  padding-block: 0.4rem;
  position: relative;
  transition: color .2s;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] { color: var(--ivory); }
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ivory);
  width: 44px;
  height: 44px;
  margin-right: -10px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s ease, opacity .2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  body.nav-open { overflow: hidden; }
  .nav-toggle { display: block; }
  /* assoluto rispetto all'header (che è fixed): con backdrop-filter
     un figlio position:fixed verrebbe confinato nell'header */
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: var(--bg);
    padding: 2.5rem var(--gutter);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
  }
  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .3s ease, transform .3s ease;
  }
  .nav-open .site-header {
    background: var(--bg);
    border-bottom-color: var(--line);
  }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ivory);
    padding-block: 0.9rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-list a::after { display: none; }
  .nav-list a[aria-current="page"] { color: var(--accent-text); }
}

/* ==========================================================================
   Elementi comuni
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--accent);
}

.section { padding-block: var(--section-y); position: relative; }
.section--slate { background: var(--slate); }
.section + .section:not(.section--slate) { border-top: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 900px) {
  .section-head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: 4rem;
  }
}

.section-number {
  font-family: var(--font-display);
  color: var(--accent-text);
  font-size: 1rem;
  margin-right: 0.35em;
}

.section-title {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
}
.section-title em {
  font-style: normal;
  color: var(--accent-text);
}

.section-intro {
  color: var(--ivory-muted);
  font-size: 1.0625rem;
  max-width: 34rem;
}

.lead {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  line-height: 1.22;
  color: var(--ivory);
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.prose p { color: var(--ivory-muted); }
.prose strong { color: var(--ivory); font-weight: 600; }
.prose em { color: var(--ivory); }

/* Pulsanti */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ivory);
  --btn-border: var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.btn svg { width: 1.05rem; height: 1.05rem; flex: none; }
.btn .arrow { transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary {
  --btn-bg: var(--accent);
  --btn-border: var(--accent);
}
.btn--primary:hover {
  --btn-bg: var(--accent-hover);
  --btn-border: var(--accent-hover);
}
.btn--ghost:hover {
  --btn-border: var(--ivory);
  --btn-bg: rgba(242, 234, 219, 0.04);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.3rem;
  transition: color .2s, border-color .2s;
}
.text-link:hover { color: var(--accent-text); }
.text-link svg { width: 0.95rem; height: 0.95rem; }

/* Pulsanti social con follower */
.social-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.35rem 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .25s, background-color .25s;
  flex: 0 1 15.5rem;
}
@media (max-width: 560px) {
  .social-btn { flex: 1 1 100%; }
}
.social-btn:hover {
  border-color: var(--accent);
  background: rgba(150, 54, 45, 0.12);
}
.social-btn__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--accent);
  border-radius: 50%;
  flex: none;
}
.social-btn__icon svg { width: 1.25rem; height: 1.25rem; }
.social-btn__text { display: flex; flex-direction: column; line-height: 1.25; }
.social-btn__count {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.05;
}
.social-btn__label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-muted);
}

/* ==========================================================================
   Hero / Bio
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-h);
  padding-bottom: clamp(3rem, 8vw, 6rem);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(72%, 1100px);
  z-index: -1;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(20, 19, 18, 0.7) 22%, rgba(20, 19, 18, 0) 55%),
    linear-gradient(0deg, var(--bg) 0%, rgba(20, 19, 18, 0) 38%);
}

.hero__content { max-width: 40rem; }

.hero__roles {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-muted);
  margin-bottom: 1.5rem;
}
.hero__roles span { color: var(--accent-text); margin-inline: 0.5em; }

.hero__title {
  font-size: clamp(4rem, 13vw, 10.5rem);
  line-height: 0.86;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}
.hero__title span { display: block; }
.hero__title span:last-child { color: var(--accent-text); padding-left: 0.5em; }

.hero__alias {
  font-size: 0.9375rem;
  color: var(--ivory-muted);
  margin-bottom: 2.25rem;
}
.hero__alias strong { color: var(--ivory); font-weight: 500; }

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory-muted);
}
.scroll-cue::before {
  content: "";
  width: 1px;
  height: 2.75rem;
  background: linear-gradient(var(--accent), transparent);
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0;
  }
  .hero__media {
    position: relative;
    width: 100%;
    height: 78svh;
    max-height: 640px;
    min-height: 420px;
  }
  .hero__media img { object-position: 58% 20%; }
  .hero__media::after {
    background: linear-gradient(0deg, var(--bg) 2%, rgba(20, 19, 18, 0.55) 30%, rgba(20, 19, 18, 0) 60%);
  }
  .hero__content { margin-top: -9rem; position: relative; }
  .scroll-cue { display: none; }
  .hero__title span:last-child { padding-left: 0.3em; }
}

.bio {
  padding-block: clamp(3rem, 7vw, 6rem) var(--section-y);
}
.bio__grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .bio__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(3rem, 7vw, 7rem);
  }
  .bio__aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.bio .prose { font-size: 1.0625rem; }
.bio__social {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.bio__social-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-muted);
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   Pubblicazioni
   ========================================================================== */

.books {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3rem);
}
@media (max-width: 900px) {
  .books { grid-template-columns: minmax(0, 1fr); max-width: 26rem; margin-inline: auto; }
}

.book {
  display: flex;
  flex-direction: column;
}
.book__cover {
  position: relative;
  aspect-ratio: 379 / 551;
  margin-bottom: 1.75rem;
  background: var(--bg-raised);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line);
  overflow: hidden;
}
.book__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.book:hover .book__cover img { transform: scale(1.03); }
.book__meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 0.6rem;
}
.book__title {
  font-size: clamp(1.625rem, 2.4vw, 2rem);
  line-height: 1.08;
  margin-bottom: 0.5rem;
}
.book__subtitle {
  color: var(--ivory-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.book .btn { margin-top: auto; align-self: flex-start; }

.section-foot {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   Split (foto + testo) — Critica e Moderazione in home
   ========================================================================== */

.split {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--reverse .split__media { order: 2; }
}

.split__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}
.split__media--bw img { filter: grayscale(1) contrast(1.05); }
.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px var(--line);
  pointer-events: none;
}
.split__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(20, 19, 18, 0.75);
  padding: 0.4rem 0.7rem;
}

.split__body .section-title { margin-bottom: 1.75rem; }
.split__body .lead { margin-bottom: 1.5rem; }
.split__body .prose { margin-bottom: 2.25rem; }

/* ==========================================================================
   Loghi testate / partner
   Il nome testuale viene mostrato finché il file logo non è presente
   in assets/logos/ (vedi README in quella cartella).
   ========================================================================== */

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-bottom: 2.25rem;
}
.logo-grid--compact { grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); }

.logo {
  display: grid;
  place-items: center;
  min-height: 6.5rem;
  padding: 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  text-decoration: none;
  position: relative;
  transition: background-color .25s;
}
a.logo:hover { background: rgba(242, 234, 219, 0.04); }

.logo__name {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  line-height: 1.1;
  color: var(--ivory);
}
.logo__img {
  max-width: 78%;
  max-height: 2.75rem;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity .25s;
}
/* tutti i loghi (testate, partner, rivenditori) resi in avorio monocromatico,
   qualunque sia il colore del file originale */
.logo__img,
.retailer-logo {
  filter: brightness(0) invert(93%) sepia(14%) saturate(320%) hue-rotate(345deg);
}
a.logo:hover .logo__img { opacity: 1; }
.logo.has-img .logo__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.logo__tag {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-muted);
  margin: 0 0 1rem;
}

/* ==========================================================================
   Sottopagine
   ========================================================================== */

.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(4rem, 12vw, 9rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  isolation: isolate;
  overflow: hidden;
}
.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.page-hero__media--bw img { filter: grayscale(1); }
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg) 0%, rgba(20, 19, 18, 0.4) 60%, rgba(20, 19, 18, 0.7) 100%);
}
.page-hero .section-title { font-size: clamp(3.25rem, 10vw, 8rem); margin-bottom: 1.5rem; }
.page-hero .section-intro { font-size: 1.125rem; max-width: 38rem; }

.breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-muted);
  margin-bottom: 2rem;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ivory); }
.breadcrumb span { color: var(--accent-text); margin-inline: 0.6em; }

.subsection + .subsection { margin-top: clamp(4rem, 8vw, 6.5rem); }
.subsection-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.subsection-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  transform: translateY(-0.3em);
}

/* Libro dettaglio */
.book-detail {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
}
.book-detail:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) {
  .book-detail { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .book-detail__cover { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.book-detail__cover .book__cover { max-width: 22rem; margin-bottom: 0; }
.book-detail__index {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent-text);
  margin-bottom: 1rem;
}
.book-detail__title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  margin-bottom: 0.75rem;
}
.book-detail__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  color: var(--ivory-muted);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.book-detail .book__meta { margin-bottom: 2rem; }
.book-detail .prose { max-width: 40rem; margin-bottom: 2.5rem; }
.book-detail .prose p:first-child { color: var(--ivory); font-size: 1.1875rem; }

/* Liste semplici (antologie, partner) */
.list-plain {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.list-plain li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.list-plain__text { display: flex; flex-direction: column; gap: 0.3rem; }
.list-plain__title { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.2; }
.list-plain__meta { color: var(--ivory-muted); font-size: 0.9375rem; }

/* Card generiche (articoli, highlights) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: border-color .25s, transform .35s ease;
}
a.card:hover,
.card:has(a:hover) { border-color: var(--line-strong); }
.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.5rem 1.75rem;
}
.card__kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 1rem;
}
.card__kicker time { color: var(--ivory-faint); }
.card__title {
  font-size: 1.5rem;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}
.card__text {
  color: var(--ivory-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.card .text-link { margin-top: auto; align-self: flex-start; }

/* Card articolo: logo testata in testa */
.card__source {
  display: flex;
  align-items: center;
  min-height: 4.5rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: rgba(26, 39, 47, 0.45);
}
.card__source .logo {
  min-height: 0;
  padding: 0;
  border: 0;
  place-items: center start;
}
.card__source .logo__img { max-width: 8rem; max-height: 1.75rem; }
.card__source .logo__name { font-size: 1.0625rem; }

/* Immagine segnaposto per gli highlights */
.card__media {
  aspect-ratio: 3 / 2;
  background: var(--slate);
  position: relative;
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-img {
  display: grid;
  place-items: center;
  height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(242, 234, 219, 0.035) 0 1px, transparent 1px 14px),
    var(--slate);
  color: var(--ivory-faint);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.placeholder-img svg { width: 2rem; height: 2rem; margin: 0 auto 0.6rem; opacity: 0.6; }

.is-placeholder { position: relative; }
.placeholder-note {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  color: var(--ivory-muted);
  border: 1px dashed var(--line-strong);
  padding: 0.6rem 1rem;
  margin-bottom: 2rem;
}

/* Collaborazioni attuali */
.outlet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.outlet {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .25s, background-color .25s;
}
.outlet:hover { border-color: var(--accent); background: rgba(150, 54, 45, 0.08); }
.outlet .logo { border: 0; min-height: 8.5rem; border-bottom: 1px solid var(--line); }
.outlet .logo__name { font-size: 1.625rem; }
.outlet__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-muted);
}
.outlet:hover .outlet__foot { color: var(--ivory); }
.outlet__foot svg { width: 1rem; height: 1rem; color: var(--accent-text); }

/* Podcast timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.timeline li {
  display: grid;
  gap: 0.5rem 3rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 820px) {
  .timeline li { grid-template-columns: 13rem minmax(0, 1fr) auto; align-items: baseline; }
}
.timeline__date {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--ivory-muted);
}
.timeline__title {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  margin-bottom: 0.5rem;
}
.timeline__text { color: var(--ivory-muted); font-size: 0.9875rem; max-width: 42rem; }
.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--ivory);
  padding: 0.25rem 0.55rem;
  vertical-align: middle;
  margin-left: 0.6rem;
  transform: translateY(-0.25em);
}

/* ==========================================================================
   CTA contatti + Footer
   ========================================================================== */

.contact-cta {
  text-align: center;
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}
.contact-cta .section-title { margin-bottom: 1.5rem; }
.contact-cta .section-intro { margin: 0 auto 2.5rem; }
.contact-cta .btn-row { justify-content: center; }

.site-footer {
  background: var(--slate);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 0.9375rem;
}
.footer__top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 820px) {
  .footer__top { grid-template-columns: 1fr auto; align-items: end; }
}
.footer__brand {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 0.95;
  margin-bottom: 0.9rem;
}
.footer__brand span { color: var(--accent-text); }
.footer__tagline { color: var(--ivory-muted); max-width: 26rem; }
.footer__contact {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}
.footer__contact:hover { color: var(--accent-text); }

.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color .25s, border-color .25s;
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); }
.footer-social svg { width: 1.2rem; height: 1.2rem; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.8125rem;
  color: var(--ivory-faint);
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover { color: var(--ivory); }

/* ==========================================================================
   Acquista: menu a tendina con i rivenditori (home)
   ========================================================================== */

.buy { position: relative; margin-top: auto; align-self: flex-start; }
.buy__toggle .chevron { transition: transform .25s ease; }
.buy__toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.buy__menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 15rem;
  margin: 0;
  padding: 0.4rem 0;
  list-style: none;
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.7);
}
.buy__menu[hidden] { display: none; }
.buy__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.1rem;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.buy__menu a:hover,
.buy__menu a:focus-visible { background: rgba(150, 54, 45, 0.16); color: var(--ivory); outline: none; }
.buy__menu svg { width: 0.95rem; height: 0.95rem; color: var(--accent-text); flex: none; }

/* ==========================================================================
   Rivenditori: gruppo di pulsanti (pagina pubblicazioni)
   ========================================================================== */

.retailers__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-muted);
  margin-bottom: 0.9rem;
}
.retailers .btn-row { gap: 0.6rem; }
.btn--sm { min-height: 42px; padding: 0.6rem 1.1rem; font-size: 0.75rem; }

.retailer-logo {
  display: block;
  height: 1.15rem;
  width: auto;
  max-width: 8.5rem;
}
.buy__menu .retailer-logo { height: 1.05rem; }

/* ==========================================================================
   Contenuti incorporati caricati al clic (YouTube, Spotify)
   Nessuna richiesta a terze parti finché il visitatore non clicca.
   ========================================================================== */

.embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--slate);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.embed--audio { aspect-ratio: auto; height: 352px; }
.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.embed__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: -1;
}
.embed__cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 100%;
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(0deg, rgba(20, 19, 18, 0.85), rgba(20, 19, 18, 0.35));
}
.embed__play {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 1.4rem 0.5rem 0.5rem;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ivory);
  font: 600 0.8125rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .25s, border-color .25s;
}
.embed__play:hover { background: rgba(150, 54, 45, 0.25); border-color: var(--accent); }
.embed__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent);
}
.embed__icon svg { width: 1.1rem; height: 1.1rem; margin-left: 2px; }
.embed__notice {
  max-width: 30rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ivory-muted);
}
.embed__notice a { color: var(--ivory); }
.embed.is-loaded .embed__cover,
.embed.is-loaded .embed__poster { display: none; }

/* ==========================================================================
   Pagina contatti
   ========================================================================== */

.contact-layout {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
}
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .contact-layout__aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

.social-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.social-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color .2s;
}
.social-list a:hover { color: var(--accent-text); }
.social-list__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  flex: none;
  transition: background-color .25s, border-color .25s;
}
.social-list a:hover .social-list__icon { background: var(--accent); border-color: var(--accent); color: var(--ivory); }
.social-list__icon svg { width: 1.15rem; height: 1.15rem; }
.social-list__name { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.social-list__handle { margin-left: auto; font-size: 0.875rem; color: var(--ivory-muted); }

.form-slot {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  min-height: 24rem;
}
.form-slot iframe { width: 100%; border: 0; }
.form-slot__placeholder {
  display: grid;
  place-items: center;
  min-height: 20rem;
  text-align: center;
  border: 1px dashed var(--line-strong);
  color: var(--ivory-muted);
  font-size: 0.9375rem;
  padding: 2rem;
}

/* ==========================================================================
   Animazioni di comparsa
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   Mini sito: schedule Lucca
   Pagina singola in colonna stretta, centrata anche su desktop.
   Usa solo i token di :root; riusa .eyebrow, .text-link, .btn,
   .footer-social, .logo__img, .logo__name e .reveal.
   ========================================================================== */

.sched-wrap {
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 7vw, 4rem) var(--gutter) 3rem;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.sched-wrap > main { flex: 1 0 auto; }
.sched-wrap > main:focus { outline: none; }

/* ---- Testata ---- */
.sched-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 2rem;
}

.sched-avatar {
  width: 6.5rem;
  height: 6.5rem;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--accent);
  margin-bottom: 1.5rem;
}

.sched-brand {
  font-size: clamp(2.5rem, 11vw, 3.25rem);
  line-height: 0.95;
}
.sched-brand span { color: var(--accent-text); }

.sched-lucca {
  display: grid;
  place-items: center;
  min-height: 2.75rem;
  margin: 1.25rem 0 1.75rem;
}
.sched-lucca .logo__img {
  width: auto;
  height: 2.75rem;
  max-width: min(100%, 16rem);
  max-height: none;
  object-fit: contain;
  opacity: 0.9;
}
.sched-lucca .logo__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--ivory);
}
.sched-lucca.has-img .logo__name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sched-now {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.15rem 0.65rem;
  margin: 0;
  color: var(--ivory-muted);
  font-size: 1.0625rem;
  line-height: 1.4;
}
.sched-now__sep { color: var(--accent-text); }
.sched-now__date,
.sched-now__time {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ivory);
  font-variant-numeric: tabular-nums;
}

/* countdown fino all'inizio del festival (nascosto da JS quando inizia) */
.sched-countdown {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.1rem 0 0;
  padding: 0.6rem 1.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-muted);
  line-height: 1;
}
.sched-countdown[hidden] { display: none; }
.sched-countdown__num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  letter-spacing: 0;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}

/* ---- Filtro giorni ---- */
.day-filter {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-height: 44px;
  padding: 0.7rem 0.15rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ivory);
  font-family: var(--font-body);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.chip__num {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 0.9;
}
.chip__month {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.chip__weekday {
  font-size: 0.625rem;
  color: var(--ivory-muted);
}
.chip[aria-pressed="true"] .chip__month,
.chip[aria-pressed="true"] .chip__weekday { color: var(--ivory); }
.chip:hover { border-color: var(--ivory); background: color-mix(in srgb, var(--ivory) 4%, transparent); }
.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ivory);
}
.chip[aria-pressed="true"]:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

/* ---- Giornate (accordion) ---- */
.sched-days { border-top: 1px solid var(--line); }

.sched-status {
  margin: 0;
  padding: 2rem 0;
  text-align: center;
  color: var(--ivory-muted);
}
.sched-error {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--bg-raised);
  text-align: center;
}
.sched-error p { color: var(--ivory); }

.day { border-bottom: 1px solid var(--line); }

/* giorni passati: in fondo, sotto un titolo, con l'intestazione attenuata
   (gli eventi dentro sono già attenuati come conclusi) */
.sched-past-title {
  margin: 2.5rem 0 0;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}
.day.is-past .day__head { opacity: 0.55; }
.day__head { font-size: inherit; line-height: inherit; letter-spacing: 0; }

.day__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 4.25rem;
  padding: 0.9rem 0;
  border: 0;
  background: transparent;
  color: var(--ivory);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.day__text { display: grid; gap: 0.15rem; }
.day__name {
  font-family: var(--font-display);
  font-size: 1.625rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  transition: color .2s;
}
.day__toggle:hover .day__name { color: var(--accent-text); }
.day__today {
  display: inline-block;
  margin-left: 0.7rem;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  vertical-align: 0.25em;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--accent-text);
}
.day__today[hidden] { display: none; }
.day__count {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--ivory-muted);
}
.day__chevron {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent-text);
  transition: transform .3s ease;
}
.day.is-open .day__chevron { transform: rotate(180deg); }

.day__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .35s cubic-bezier(.2,.7,.2,1), visibility 0s linear .35s;
}
.day.is-open .day__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition-delay: 0s;
}
.day__inner { overflow: hidden; min-height: 0; }
.day__list {
  display: grid;
  gap: 0.75rem;
  padding: 0.25rem 0 1.5rem;
}
.day__empty {
  margin: 0;
  padding: 1rem 0 0.5rem;
  color: var(--ivory-muted);
}

/* ---- Card evento ---- */
.event {
  position: relative;
  display: grid;
  gap: 0.5rem;
  padding: 1.15rem 1.25rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  transition: opacity .3s ease, border-color .3s ease;
}
.event[data-status="live"] { border-color: var(--accent); }
.event[data-status="done"] { opacity: 0.55; }

.event__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 1.5rem;
}
.event__when {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  min-width: 0;
}
/* tipo di evento: tag rosso in alto a destra */
.event__type {
  flex: none;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--ivory);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}
.event__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--ivory-muted);
}
.event__badge[hidden] { display: none; }
/* "In corso" a contorno, per non confondersi col tag rosso del tipo */
.event__badge--live {
  border: 1px solid var(--accent);
  color: var(--accent-text);
}
.event__badge--live::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent-text);
  animation: sched-pulse 1.8s ease-in-out infinite;
}
@keyframes sched-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.event__time {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--ivory);
  font-variant-numeric: tabular-nums;
}
.event__title {
  font-size: 1.5rem;
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.event__subtitle,
.event__guests,
.event__place,
.event__notes { margin: 0; }
/* "con Nome Cognome" e la riga sotto il titolo ("presso stand …") */
.event__subtitle,
.event__guests {
  color: var(--ivory);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.event__place {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--ivory-muted);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.event__pin {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.12rem;
  color: var(--accent-text);
}
/* luogo fisico: link a Google Maps */
.event__map {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  padding-block: 0.4rem; /* area di tocco più alta, senza spostare il testo */
  margin-block: -0.4rem;
  transition: color .2s;
}
.event__map:hover { color: var(--ivory); }
.event__notes {
  color: var(--ivory-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.event__link {
  position: relative;
  justify-self: start;
  margin-top: 1.75rem;
}
/* area di tocco di almeno 44px intorno al link, senza invadere la riga del luogo */
.event__link::after {
  content: "";
  position: absolute;
  inset: -0.6rem -0.6rem;
}

/* ---- Footer ---- */
.sched-foot {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  text-align: center;
}
.sched-foot .footer-social { justify-content: center; }
.sched-foot .text-link { position: relative; }
.sched-foot .text-link::after {
  content: "";
  position: absolute;
  inset: -0.9rem -0.6rem;
}
.sched-copy {
  margin: 0;
  color: var(--ivory-muted);
  font-size: 0.875rem;
}

@media (prefers-reduced-motion: reduce) {
  .day__panel { transition: none; }
  .event__badge--live::before { animation: none; }
}
