/* Editorial layout contract: full-width headings, natural text flow, consistent rhythm. */
:root { --section-space: clamp(48px,6vw,84px); --card-radius: 14px; }
#main :is(h1,h2,h3) { max-width: none; white-space: normal; text-wrap: wrap; overflow-wrap: break-word; word-break: normal; hyphens: none; }
#main :is(.intro-text,.section-summary,.hero-detail,.hero-description p) { width: 100%; max-width: none; white-space: normal; text-wrap: wrap; }
#main :is(.section-heading,.category-intro,.seo-platform-section > header,.promotion-network > header) > div { min-width: 0; }
#main .section-heading:has(> .section-summary) { display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; align-items: start; }
#main .section-heading > div { min-width: 0; }
#main .section-summary { margin: 0; color: #617184; font-size: 1rem; line-height: 1.85; }
.page-intro { padding-top: 31px; padding-bottom: 48px; margin-bottom: 48px; }
#main .page-intro h1 { font-size: clamp(2rem,4.05vw,3.65rem); line-height: 1.14; letter-spacing: -.035em; }
.page-intro .breadcrumb { margin-bottom: 25px; }
.page-intro .eyebrow { margin-bottom: 18px; }
#main .page-intro .intro-text { margin-top: 24px; color: #bfccda; font-size: 1rem; line-height: 1.85; }
.heading-space { white-space: normal; }
#main :is(.page-intro,.music-category,.service-value-stage,.seo-music-opening,.group-statement,.playlist-hero,.onair-inner,.meeting-layout) > * { min-width: 0; }
#main :is(input,select,textarea) { max-width: 100%; }
#main :is(.service-card,.music-card,.pricing-plan,.artist-card,.chart-card,.post-card) { min-width: 0; }
#main :is(.music-card,.service-feature-grid > div,.promotion-brand,.seo-platform-card) { border-radius: var(--card-radius); }
#main :is(.music-card h3,.service-feature-grid h3,.promotion-brand h2,.seo-platform-card h3) { line-height: 1.3; }
#main :is(.music-card > p,.service-value-copy > p,.service-original-lead,.category-intro > p,.bio-introduction) { max-width: none; text-wrap: wrap; }
#main .category-intro { grid-template-columns: minmax(0,1fr); gap: 16px; }
#main .category-intro .eyebrow { margin-bottom: 0; }
#main .category-intro h2 { margin: 0; }
#main .category-intro > p:not(.eyebrow) { max-width: none; margin: 0; }
#main .music-nav > .wrap { display: flex; flex-wrap: wrap; gap: 4px 24px; overflow: visible; padding-block: 14px; }
#main .music-nav a { display: inline-flex; align-items: center; min-height: 40px; white-space: normal; padding-block: 8px; line-height: 1.5; }
#main .music-nav { margin-top: -48px; margin-bottom: 44px; }
#main .service-value-stage { padding: clamp(28px,4.5vw,60px); gap: 44px; }
#main .service-value-copy h2 { font-size: clamp(1.9rem,2.9vw,2.75rem); line-height: 1.2; }
#main .service-consult h2 { font-size: 1.7rem; line-height: 1.28; }
#main .service-consult .button { white-space: normal; text-align: center; }
#main .service-feature-grid > div { display: flex; flex-direction: column; }
#main .service-feature-grid .prose { min-width: 0; width: 100%; }
#main .service-feature-grid h3 { font-size: 1.35rem; }
#main .seo-platform-section > header { grid-template-columns: minmax(0,1fr); gap: 20px; }
#main .seo-platform-section > header > p { max-width: none; }
#main .seo-music-principles > header { display: block; }
#main .seo-music-opening h2 { font-size: clamp(2.2rem,3.3vw,3.3rem); line-height: 1.16; }
#main .seo-music-cta h2 { line-height: 1.22; }
#main .bio-introduction { line-height: 1.85; }
#main #album .section-heading h2 { width: 100%; }
#main .group-statement h2 { line-height: 1.22; }
#main .playlist-method h2 { line-height: 1.2; }
#main .artist-profile-headline h1 { line-height: 1.15; }
#main .artist-profile-lead { max-width: none; }
#main .artist-releases { min-width: 0; }
#main .release-hero h1 { line-height: 1.18; }
#main .release-editorial .prose { min-width: 0; }

/* Homepage: preserve the portrait and palette, simplify the proportions. */
.home-page .hero-inner { grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); gap: 70px; padding-block: 48px; }
#main .hero-copy h1 { font-size: clamp(3.6rem,6vw,5.55rem); line-height: 1.02; letter-spacing: -.055em; }
.home-page .hero-description { display: block; width: 100%; margin-top: 28px; padding-left: 19px; border-left: 2px solid #ff4b00; }
.home-page .hero-description .accent-rule { display: none; }
.home-page .hero-description p { font-size: 1.06rem; line-height: 1.8; }
.home-page .hero-detail { width: 100%; max-width: none; margin-top: 19px; padding-left: 21px; font-size: .94rem; line-height: 1.85; color: #bfccda; }
.home-page .hero-copy .button-row { gap: 16px 22px; margin-top: 27px; }
.home-page .portrait-frame { max-height: 530px; aspect-ratio: .96; border-radius: 76px 12px 12px 12px; box-shadow: 10px 10px 0 -4px #ff4b00,0 24px 55px #07101e44; }
.home-page .hero-portrait figcaption { margin-top: 20px; gap: 15px; line-height: 1.6; }
.home-page .hero-location { margin-top: 30px; }
.home-page .hero-bottom { padding-block: 20px; gap: 20px; }
.home-page #il-mio-lavoro { padding-block: var(--section-space); }
.home-page .section-heading { margin-bottom: 32px; }
.home-page #il-mio-lavoro .section-heading > div { width: 100%; }
#main #il-mio-lavoro .section-summary { margin-top: 18px; padding: 0; }
#main #il-mio-lavoro h2 { font-size: clamp(1.9rem,3.1vw,2.8rem); line-height: 1.25; }
.home-page .expertise-list { gap: 24px; }
.home-page .expertise-row,.home-page .expertise-row:hover { padding: 29px; }
.home-page .expertise-row h3 { font-size: clamp(1.3rem,1.7vw,1.55rem); line-height: 1.3; }
.home-page .expertise-row p { font-size: .92rem; line-height: 1.85; }
.home-page .story-inner { gap: 56px; padding-block: var(--section-space); }
.home-page .story-copy h2 { font-size: clamp(2rem,3.15vw,2.9rem); line-height: 1.2; }
.home-page .home-playlist-inner { gap: 60px; padding-block: var(--section-space); }
.home-page .home-playlist-art { width: 100%; max-width: 420px; }
.home-page .home-playlist-copy h2 { font-size: clamp(2rem,3.2vw,2.9rem); line-height: 1.2; }
.home-page .home-journal .section-pad { padding-block: var(--section-space); }
#main .home-journal .section-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 24px; }
#main .home-journal .section-heading h2 { font-size: clamp(2rem,3.1vw,2.8rem); line-height: 1.22; }
#main .home-journal .section-heading h2 :is(span,em) { display: inline; }
.home-page .home-journal .journal-home { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto; gap: 26px; }
.home-page .home-journal .journal-home .post-card,.home-page .home-journal .journal-home .post-card:first-child,.home-page .home-journal .journal-home .post-card:not(:first-child) { display: flex; flex-direction: column; grid-row: auto; gap: 0; border-radius: 13px; }
.home-page .home-journal .journal-home .post-card .card-image,.home-page .home-journal .journal-home .post-card:first-child .card-image,.home-page .home-journal .journal-home .post-card:not(:first-child) .card-image { width: 100%; height: auto; min-height: 0; aspect-ratio: 16/9; }
.home-page .home-journal .journal-home .post-card .card-image img { object-fit: cover; }
.home-page .home-journal .journal-home .post-card .post-card-copy,.home-page .home-journal .journal-home .post-card:first-child .post-card-copy,.home-page .home-journal .journal-home .post-card:not(:first-child) .post-card-copy { display: flex; flex: 1; flex-direction: column; padding: 27px; }
#main .home-journal .journal-home .post-card h3 { margin: 15px 0 23px; font-size: clamp(1.25rem,1.9vw,1.6rem); line-height: 1.32; }
.home-page .home-journal .journal-home .post-card .read-more { margin-top: auto; }
.home-page .onair-inner { gap: 56px; padding-block: var(--section-space); }
.home-page .onair-inner h2 { font-size: clamp(2rem,3.2vw,2.9rem); line-height: 1.2; }
.cookie-panel { border-radius: 12px; }
.cookie-panel .cookie-actions { gap: 12px; }
.cookie-panel .cookie-actions button { min-height: 44px; }

@media (max-width: 1100px) {
 .home-page .hero-inner { grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 40px; }
 .home-page .hero-description p { font-size: 1rem; }
 .home-page .hero-detail { padding-left: 0; }
 .home-page .portrait-frame { max-height: 480px; }
 #main .home-journal .section-heading { grid-template-columns: minmax(0,1fr); gap: 20px; }
 #main .home-journal .section-heading > .text-link { width: fit-content; }
 #main .service-value-stage { gap: 30px; }
}
@media (max-width: 900px) {
 .home-page .hero-inner { grid-template-columns: minmax(0,1fr); gap: 35px; padding-block: 34px; }
 .home-page .hero-copy { max-width: none; }
 .home-page .hero-portrait { width: min(100%,510px); margin-inline: auto; }
 .home-page .portrait-frame { max-height: 480px; aspect-ratio: 1.12; }
 .home-page .hero-description { margin-top: 24px; }
 .home-page .hero-detail { margin-top: 17px; }
 .home-page .hero-bottom { align-items: start; flex-wrap: wrap; }
 #main .section-heading { gap: 20px; }
 #main .music-category--seo .music-card { grid-template-columns: 52px minmax(0,1fr); }
 #main .music-category--seo .music-card-bottom { grid-column: 2; grid-row: auto; margin-top: 12px; border-bottom: 0; }
 .home-page .story-inner,.home-page .home-playlist-inner { gap: 35px; }
}
@media (max-width: 760px) {
 .page-intro { padding-top: 25px; padding-bottom: 35px; margin-bottom: 35px; }
 #main .page-intro h1 { font-size: clamp(1.9rem,7.7vw,2.8rem); line-height: 1.18; }
 .page-intro .breadcrumb { margin-bottom: 23px; }
 #main .page-intro .intro-text { font-size: .94rem; line-height: 1.85; margin-top: 21px; }
 #main .music-nav { margin-top: -35px; margin-bottom: 30px; }
 #main .music-nav > .wrap { gap: 2px 20px; padding-block: 12px; }
 #main .music-nav a { font-size: .78rem; }
 #main .category-intro { grid-template-columns: minmax(0,1fr); gap: 15px; }
 #main .service-value-stage { padding: 29px 24px; }
 #main .service-value-copy h2 { font-size: 1.95rem; }
 #main .service-consult h2 { font-size: 1.65rem; }
 #main .music-category--seo .music-card { display: flex; }
 .home-page .hero-copy .eyebrow { font-size: .6rem; line-height: 1.8; margin-bottom: 19px; }
 #main .hero-copy h1 { font-size: clamp(3rem,12vw,4rem); line-height: 1.03; }
 .home-page .hero-description { padding-left: 16px; }
 .home-page .hero-description p { font-size: 1rem; line-height: 1.8; }
 .home-page .hero-detail { font-size: .91rem; }
 .home-page .hero-copy .button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
 .home-page .hero-copy .button { width: auto; min-height: 48px; }
 .home-page .hero-secondary { min-height: 44px; padding-inline: 0; font-size: .83rem; }
 .home-page .hero-location { margin-top: 24px; font-size: .7rem; gap: 11px; flex-wrap: wrap; }
 .home-page .hero-portrait figcaption { font-size: .64rem; }
 .home-page .hero-bottom { font-size: .64rem; padding-block: 20px; }
 .home-page .hero-bottom > a { min-height: 40px; align-items: center; }
 .home-page .expertise-row,.home-page .expertise-row:hover { padding: 26px; }
 .home-page .home-playlist-art { max-width: 410px; margin-inline: auto; }
 .home-page .home-journal .journal-home { grid-template-columns: minmax(0,1fr); gap: 24px; }
 .home-page .home-journal .journal-home .post-card .post-card-copy,.home-page .home-journal .journal-home .post-card:first-child .post-card-copy,.home-page .home-journal .journal-home .post-card:not(:first-child) .post-card-copy { padding: 24px; }
 #main .home-journal .journal-home .post-card h3 { font-size: 1.35rem; }
 .home-page .onair-inner { gap: 32px; }
 .home-page .home-releases { padding: 22px; }
 .cookie-panel { padding: 22px; }
 .cookie-symbol { width: 29px; }
 .cookie-symbol svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .home-page :is(.expertise-row,.post-card,.portrait-frame) { transition: none; }
 .home-page :is(.expertise-row,.post-card):hover { transform: none; }
}

/* Legible brand actions and metadata on both light and dark surfaces. */
.button.warm,.button.orange,.spotify-button { color: #101b2a; font-weight: 600; }
.button.warm:hover,.button.orange:hover { background: #ff6726; color: #101b2a; }
#main .article-editorial-heading .article-byline { color: #647080; font-size: .8rem; }
#main .journal-suggestion time { color: #647080; }
/* Artist and release names need room even when a collaboration has a long credit. */
#main .release-hero h1 { font-size: clamp(1.9rem,3.4vw,3.2rem); }
@media (max-width:760px) {
 #main .artist-profile-hero-grid { grid-template-columns: 84px minmax(0,1fr); gap: 18px; }
 #main .artist-profile-portrait { width: 84px; }
 #main .artist-profile-headline h1 { font-size: clamp(1.75rem,6.6vw,2.15rem); line-height: 1.2; }
 #main .release-hero h1 { font-size: clamp(1.85rem,7.3vw,2.5rem); }
}
@media (max-width:370px) {
 #main .artist-profile-hero-grid { grid-template-columns: 68px minmax(0,1fr); gap: 16px; }
 #main .artist-profile-portrait { width: 68px; }
}
/* Long uninterrupted titles must not set the minimum width of a release column. */
#main .release-hero-inner > div { min-width: 0; }
#main .release-performer { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width:760px) {
 #main .release-hero-inner { grid-template-columns: minmax(0,1fr); }
}
/* Section introductions share the journal's full-width text flow. */
#main :is(.artists-catalog-heading,.playlist-method > header) { display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; align-items: start; }
#main .artists-catalog-heading > p { width: 100%; max-width: none; margin: 0; text-wrap: wrap; }
body:is([data-page="/privacy"],[data-page="/cookies"]) #main .page-body > .prose { width: 100%; max-width: 900px; margin-inline: auto; padding: clamp(24px,4vw,42px); border: 1px solid #dce5ec; border-radius: 14px; background: linear-gradient(135deg,#f5f8fa,#fff 65%); }
#main .chart-group > header { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; }
#main .chart-group > header > p { width: 100%; max-width: none; }
#main .chart-group.is-italiana { color: #152234; border-color: #ebdbd3; background: radial-gradient(circle at 100% 0,#ff4b001b,transparent 55%),#faf7f5; }
#main .chart-group.is-italiana > header > p { color: #526579; }
#main .chart-group.is-italiana .eyebrow { color: #b53600; }
#main .chart-preview > header { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; min-height: 0; gap: 9px; }
#main .chart-preview > header h3 { width: 100%; }
#main .chart-preview > header time { padding-top: 0; font-size: .7rem; color: #647080; }
#main .chart-preview > p { min-height: 0; margin-top: 17px; }
/* Preview frames stay uniform; full article covers retain their natural proportions. */
#main .journal-directory :is(.journal-feature-image,.card-image) img { object-fit: cover; object-position: center 35%; }
