/* Home — apertura, nastro, il progetto, ricordo della settimana, alcuni ricordi. */

/* ─── Apertura ──────────────────────────────────────────────────────────── */
.hp-hero { position: relative; overflow: hidden; border-bottom: var(--line); background: var(--bg-2); }
.hp-hero-rays {
	position: absolute; inset: -30% -10% auto -10%; height: 150%;
	background: repeating-conic-gradient(from 0deg at 50% 30%, var(--mustard) 0deg 7deg, var(--bg-2) 7deg 14deg);
	opacity: .55;
}
.hp-hero-rays::after {
	content: ''; position: absolute; inset: 0;
	background: radial-gradient(120% 90% at 50% 26%, rgba(239, 223, 192, 0) 30%, var(--bg-2) 72%);
}
.hp-hero-grid {
	position: relative; padding-top: 64px; padding-bottom: 56px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px; align-items: center;
}
.hp-hero-txt { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hp-badge {
	display: inline-flex; align-self: flex-start; align-items: center; gap: 9px;
	padding: 7px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--bg);
	font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}
.hp-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hp-title {
	font-family: var(--f-display); font-size: clamp(38px, 6.2vw, 74px); line-height: .94; letter-spacing: -.025em;
	text-wrap: balance;
}
.hp-title .hp-line { white-space: nowrap; }
.hp-title em { font-style: normal; color: var(--orange); }
.hp-title mark {
	display: inline-block; padding: 0 10px; background: var(--ink); color: var(--bg); transform: rotate(-1.4deg);
}
.hp-intro { max-width: 46ch; font-family: var(--f-serif); font-size: clamp(17px, 2vw, 21px); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.hp-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }

.hp-hero-disc { position: relative; display: grid; place-items: center; min-height: 320px; min-width: 0; }
.hp-hero-halo { position: absolute; width: min(88%, 380px); aspect-ratio: 1; border-radius: 50%; background: var(--teal); opacity: .14; }
.hp-hero-vinyl {
	position: relative; width: min(78%, 340px); aspect-ratio: 1;
	box-shadow: 10px 12px 0 rgba(36, 26, 18, .22); animation: cr-spin 9s linear infinite;
}
.hp-hero-vinyl .vinyl-label { width: 38%; text-align: center; }
.hp-hero-label {
	display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
	font-family: var(--f-display); font-size: clamp(11px, 1.6vw, 15px); line-height: 1.05; color: var(--ink);
}
.hp-hero-label-s { font-family: var(--f-sans); font-size: 8px; letter-spacing: .2em; text-transform: uppercase; }
.hp-hero-label-h { display: block; width: 11px; height: 11px; border-radius: 50%; background: var(--bg-2); border: 1.5px solid var(--ink); }

/* ─── Nastro dei titoli ─────────────────────────────────────────────────── */
.hp-ticker { background: var(--ink); color: var(--bg); border-bottom: var(--line); overflow: hidden; padding: 13px 0; }
.hp-ticker-track {
	display: flex; width: max-content; gap: 34px;
	animation: cr-ticker 38s linear infinite;
	font-family: var(--f-display); font-size: 16px; letter-spacing: .02em; white-space: nowrap;
}
.hp-ticker-row { display: flex; gap: 34px; }
.hp-ticker .star { color: var(--mustard); }

/* ─── Il progetto ───────────────────────────────────────────────────────── */
.hp-progetto-grid {
	padding-top: 64px; padding-bottom: 64px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 40px; align-items: start;
}
.hp-foto { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hp-polaroid { margin: 0; position: relative; border: var(--line); background: var(--paper); }
.hp-polaroid img { width: 100%; object-fit: cover; filter: sepia(.25) saturate(.9); }
.hp-polaroid-big { padding: 14px 14px 40px; transform: rotate(-1.6deg); box-shadow: 8px 8px 0 rgba(36, 26, 18, .2); }
.hp-polaroid-big img { aspect-ratio: 4 / 3; }
.hp-polaroid-big figcaption {
	position: absolute; left: 16px; bottom: 11px;
	font-family: var(--f-serif); font-style: italic; font-size: 15px; color: var(--muted);
}
.hp-foto-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-polaroid-small { padding: 10px; box-shadow: 6px 6px 0 rgba(36, 26, 18, .18); }
.hp-polaroid-small img { aspect-ratio: 1; }
.hp-foto-pair .hp-polaroid-small:nth-child(1) { transform: rotate(1.8deg); }
.hp-foto-pair .hp-polaroid-small:nth-child(2) { transform: rotate(-2.4deg); }

.hp-lettera {
	min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 34px;
	border: var(--line); background: var(--paper); box-shadow: 9px 9px 0 var(--teal);
}
.hp-lettera-t { font-family: var(--f-display); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.02; letter-spacing: -.02em; }
.hp-lettera-body {
	font-family: var(--f-serif); font-size: 18px; line-height: 1.68; color: var(--ink-2);
	display: flex; flex-direction: column; gap: 14px; text-wrap: pretty;
}
.hp-lettera-body p { margin: 0; }
.hp-evidenza {
	padding: 16px 18px; background: var(--bg); border: 2px solid var(--ink);
	font-size: 19px; line-height: 1.55; color: var(--ink);
}
.hp-evidenza strong { font-weight: 600; color: var(--red); }
.hp-lettera-foot {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap;
	padding-top: 8px; border-top: 2px dashed var(--line-soft);
}
.hp-firma { font-family: var(--f-serif); font-style: italic; font-size: 26px; color: var(--ink); }
.hp-crediti { font-family: var(--f-mono); font-size: 11px; color: var(--muted); text-align: right; }

/* ─── Ricordo della settimana ───────────────────────────────────────────── */
.hp-settimana { border-top: var(--line); background: var(--ink); color: var(--bg); overflow: hidden; scroll-margin-top: 80px; }
.hp-settimana-grid {
	padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(40px, 6vw, 64px);
	display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(30px, 5vw, 56px); align-items: center;
}
.hp-settimana-disco { position: relative; width: 100%; max-width: 470px; aspect-ratio: 1.4; justify-self: center; display: block; }
.hp-settimana-vinyl {
	position: absolute; right: 0; top: 4%; height: 92%; aspect-ratio: 1;
	border-color: var(--night); background: repeating-radial-gradient(circle at 50% 50%, var(--night) 0 3px, var(--vinyl-b) 3px 5px);
	animation: cr-spin 8s linear infinite;
}
.hp-settimana-vinyl .vinyl-label { border-color: var(--night); }
.hp-settimana-cover {
	position: absolute; left: 0; top: 0; height: 100%; aspect-ratio: 1;
	border: 3px solid var(--bg); background: var(--rc-color, var(--olive)); box-shadow: 9px 9px 0 var(--orange);
	overflow: hidden; display: grid; place-items: center;
}
.hp-settimana-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-settimana-fallback { padding: 18px; text-align: center; font-family: var(--f-display); font-size: 22px; line-height: 1.05; color: var(--bg); }
.hp-settimana-txt { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hp-settimana-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hp-settimana-label { font-family: var(--f-display); font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--mustard); color: var(--ink); }
.hp-settimana-when { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--sand); }
.hp-settimana-t { font-family: var(--f-display); font-size: clamp(32px, 4.6vw, 54px); line-height: .96; letter-spacing: -.025em; text-wrap: balance; }
.hp-settimana-a { font-family: var(--f-serif); font-style: italic; font-size: 21px; color: var(--mustard); margin-top: -8px; }
.hp-settimana-ex { max-width: 52ch; font-family: var(--f-serif); font-size: 19px; line-height: 1.62; color: var(--bg-2); text-wrap: pretty; }
.hp-settimana-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 4px; }
.hp-settimana-nota { font-family: var(--f-mono); font-size: 11px; line-height: 1.5; color: var(--sand); max-width: 30ch; }

/* ─── Alcuni ricordi ────────────────────────────────────────────────────── */
.hp-alcuni { border-top: var(--line); background: var(--bg-3); }
.hp-alcuni > .container { padding-top: 58px; padding-bottom: 70px; }
.hp-alcuni-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 30px; }
.hp-alcuni-t { font-family: var(--f-display); font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -.02em; line-height: 1; }
/* Sei card (dalle note di sviluppo) su quattro colonne lascerebbero due buchi:
   su tre colonne fanno due righe piene. */
.hp-alcuni .rc-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
