/**
 * Crescita Studio: the v3 visual pass for the blog (hub, category archives, guides) and
 * Chi siamo (scroll-craft redesign 2026-10-24). CSS only: the founder is editing the guide
 * and Chi siamo copy, so no markup changes here. Brings these pages onto the homepage's
 * modern SaaS system: pill eyebrows, firmer headings, white/Sand grounds instead of Stone,
 * rounded cards with a soft lift. Centred alignment is unchanged (founder, 2026-10-06).
 */
:is(body.crescita-page-risorse, body.crescita-guide-page, body.archive, body.crescita-page-about) {
  --v3-line: rgba(15, 23, 34, 0.1);
  --v3-shadow: 0 1px 2px rgba(15, 23, 34, 0.05), 0 22px 44px -28px rgba(15, 23, 34, 0.38);
}

/* Eyebrows: the homepage pill */
:is(.crescita-page-risorse, .crescita-guide-page, .archive, .crescita-page-about) .crescita-eyebrow:not(.crescita-hub-card__eyebrow) {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.875rem 0.375rem 0.625rem;
  font-family: var(--font-secondary); font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.01em; text-transform: none;
  color: var(--crescita-ocean);
  border: 1px solid rgba(30, 58, 95, 0.18); border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}
:is(.crescita-page-risorse, .crescita-guide-page, .archive, .crescita-page-about) .crescita-eyebrow:not(.crescita-hub-card__eyebrow)::before {
  content: ""; width: 0.4375rem; height: 0.4375rem; border-radius: 50%;
  background: var(--crescita-ocean-bright); box-shadow: 0 0 0 3px rgba(46, 90, 143, 0.16);
}
.crescita-section--dark .crescita-eyebrow:not(.crescita-hub-card__eyebrow) { color: #9fc1e8; border-color: rgba(159, 193, 232, 0.3); background: transparent; }

/* Headings: weight and tracking of the homepage */
:is(.crescita-page-risorse, .crescita-guide-page, .archive, .crescita-page-about) :is(.crescita-hero__title, .crescita-guide__title, .crescita-archive__title) {
  font-weight: 700; letter-spacing: -0.035em;
}
:is(.crescita-page-risorse, .archive, .crescita-page-about) .crescita-section h2,
.crescita-guide__content h2 {
  font-weight: 600; letter-spacing: -0.025em; text-wrap: balance;
}
.crescita-guide__content h3 { font-weight: 600; letter-spacing: -0.015em; }

/* Grounds: white or Midnight only (founder, 2026-10-26) */
:is(.crescita-page-risorse, .archive, .crescita-page-about) .crescita-hero { background: #fff; }
:is(.crescita-page-risorse, .archive, .crescita-page-about) .crescita-section { background: #fff; border-top: 1px solid var(--v3-line); }
:is(.crescita-page-risorse, .archive, .crescita-page-about) .crescita-section--stone { background: #fff; }
:is(.crescita-page-risorse, .archive, .crescita-page-about) .crescita-section--dark { background: var(--crescita-midnight); border-top: 0; }

/* Hub and archive cards */
.crescita-hub-card {
  border-radius: 20px !important;
  border: 1px solid var(--v3-line) !important;
  background: #fff !important;
  box-shadow: var(--v3-shadow);
  overflow: hidden;
  transition: transform 320ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 320ms ease;
}
.crescita-hub-card:hover, .crescita-hub-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgba(15, 23, 34, 0.06), 0 30px 54px -28px rgba(15, 23, 34, 0.5);
}
.crescita-hub-card__thumb { border-radius: 0 !important; }
.crescita-hub-card__title { font-weight: 600 !important; letter-spacing: -0.015em; }
.crescita-hub-card__eyebrow { font-family: var(--font-secondary); letter-spacing: 0.04em; color: var(--crescita-ocean-bright); }
.crescita-hub-card__cta { color: var(--crescita-ocean) !important; font-weight: 600; }
.crescita-hub-carousel__nav { border-radius: 50% !important; background: #fff !important; border: 1px solid var(--v3-line) !important; box-shadow: var(--v3-shadow); color: var(--crescita-midnight) !important; }
.crescita-hub-carousel__nav:hover, .crescita-hub-carousel__nav:focus-visible { background: var(--crescita-midnight) !important; color: #fff !important; }

/* Guides: a calmer reading column */
.crescita-guide-page .crescita-guide__content { font-size: 1.0625rem; line-height: 1.72; }
.crescita-guide-page .crescita-guide__content a { color: var(--crescita-ocean); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.crescita-guide-page .crescita-guide__content a:hover { color: var(--crescita-ocean-bright); }
.crescita-guide-page .crescita-guide__content :is(.crescita-guide-tldr, .crescita-guide-summary, .crescita-guide-more, aside) {
  border-radius: 20px; border: 1px solid var(--v3-line); background: #fff; box-shadow: var(--v3-shadow);
}
.crescita-guide-page .crescita-guide__content table { border-radius: 14px; overflow: hidden; border: 1px solid var(--v3-line); }
.crescita-guide-page .crescita-guide__content blockquote { border: 0; padding: 1rem 1.5rem; border-radius: 16px; background: var(--crescita-sand); }
.crescita-guide-page .crescita-guide__meta { font-family: var(--font-secondary); }

/* Chi siamo: the step and line motifs on the same surfaces */
.crescita-page-about .crescita-cs-step { border-radius: 20px; }
.crescita-page-about .crescita-cs-head h2 { font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .crescita-hub-card { transition: none; }
  .crescita-hub-card:hover, .crescita-hub-card:focus-within { transform: none; }
}
@media print {
  .crescita-hub-card { box-shadow: none; }
}
