@font-face { font-family: Inter; src: url("inter-latin-wght-normal.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: Manrope; src: url("manrope-latin-wght-normal.woff2") format("woff2"); font-style: normal; font-weight: 200 800; font-display: swap; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 1rem/1.5 var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
a:focus-visible { outline: 3px solid var(--dv-teal-ink); outline-offset: 5px; }
[tabindex="-1"]:focus { outline: none; }
.skip { position: absolute; z-index: 10; left: 1rem; top: -8rem; padding: 1rem; background: var(--deep-harbour); color: var(--sail-white); border-radius: var(--radius-md); }
.skip:focus { top: 1rem; }
.hub-page { min-height: 100svh; display: flex; flex-direction: column; background: var(--sea-foam); color: var(--deep-harbour); }
.hub-header { width: min(100% - 40px, var(--container)); margin: 0 auto; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hub-logo { width: 72px; height: auto; }
.student-access { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 17px; border: 1px solid color-mix(in srgb, var(--deep-harbour) 18%, transparent); border-radius: var(--radius-pill); font-size: 15px; font-weight: 650; text-decoration: none; }
.link-hub { width: min(100% - 40px, 500px); margin: 0 auto; padding: 22px 0 18px; }
.hub-intro { text-align: center; margin-bottom: 30px; }
.handle { margin: 0 0 9px; color: var(--dv-teal-ink); font-size: 14px; font-weight: 650; }
.hub-intro h1 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 34px); letter-spacing: -.04em; line-height: 1.18; font-weight: 800; margin: 0 0 14px; }
.hub-intro > p:last-child { color: var(--harbour-90); margin: 0; font-size: 16px; line-height: 1.6; }
.hub-links { display: grid; gap: 12px; }
.hub-link { display: flex; align-items: center; gap: 18px; min-height: 100px; padding: 11px 18px 11px 11px; color: var(--deep-harbour); background: var(--sail-white); border: 1px solid var(--sail-white); border-radius: 20px; text-decoration: none; }
.hub-link--course { background: var(--deep-harbour); border-color: var(--deep-harbour); color: var(--sail-white); }
.link-image { position: relative; flex: 0 0 76px; border-radius: 12px; overflow: hidden; }
.link-image img { width: 76px; height: 76px; object-fit: cover; }
.hub-link--course .link-image img { object-position: 72% center; }
.play { position: absolute; bottom: 5px; right: 5px; width: 23px; height: 23px; border-radius: 50%; padding: 2px; background: var(--sail-white); color: var(--deep-harbour); fill: currentColor; stroke-width: 1; }
.link-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.link-copy strong { font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: -.025em; line-height: 1.3; }
.link-copy > span { font-size: 14px; color: var(--harbour-90); }
.link-copy small { font-size: 14px; font-weight: 750; }
.link-copy small span { font-weight: 400; }
.hub-link--course .link-copy > span, .hub-link--course small span { color: var(--sea-foam); }
.link-arrow { flex-shrink: 0; }
.link-arrow svg { width: 20px; height: 20px; }
.hub-link--simple { min-height: 68px; gap: 17px; padding: 12px 18px; background: color-mix(in srgb, var(--sail-white) 58%, var(--sea-foam)); border-color: transparent; border-radius: 18px; }
.hub-link--simple .link-copy strong { font-size: 16px; font-weight: 700; letter-spacing: -.015em; }
.link-icon { flex: 0 0 24px; display: grid; place-items: center; color: var(--dv-teal-ink); }
.social-link { display: flex; width: fit-content; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 7px 10px; margin: 19px auto 0; text-decoration: none; font-size: 14px; }
.social-link svg { width: 20px; height: 20px; }
.hub-footer { margin-top: auto; padding: 12px 20px 23px; text-align: center; font-size: 12px; color: var(--harbour-90); }
.hub-footer p { margin: 0; }
.hub-footer p:last-child { display: flex; justify-content: center; align-items: center; gap: 9px; }
.hub-footer a { display: inline-flex; align-items: center; min-height: 48px; text-underline-offset: 3px; }
.hub-page--mare { position: relative; isolation: isolate; color: var(--sail-white); background: var(--deep-harbour); }
.sea-backdrop { position: fixed; inset: 0; z-index: -1; background: url("bavaria-41-coperta.webp") center 48% / cover; }
.sea-backdrop::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--deep-harbour) 60%, transparent); }
.hub-page--mare .hub-logo { padding: 7px; width: 86px; border-radius: 12px; background: var(--sail-white); }
.hub-page--mare .hub-header { padding-block: 16px; }
.hub-page--mare .student-access { background: var(--sail-white); color: var(--deep-harbour); }
.hub-page--mare .hub-intro > p, .hub-page--mare .handle, .hub-page--mare .hub-footer { color: var(--sail-white); }
.hub-page--mare .hub-link--course { background: var(--sail-white); border-color: var(--sail-white); color: var(--deep-harbour); }
.hub-page--mare .hub-link--course .link-copy > span, .hub-page--mare .hub-link--course small span { color: var(--harbour-90); }
.hub-page--mare .hub-link--simple { background: var(--sail-white); }
.hub-page--mare a:focus-visible { outline-color: var(--sail-white); }
.hub-page--mare .hub-link:focus-visible { outline-offset: 5px; }
@media (max-width: 600px) {
  .hub-header { padding: 16px 0; }
  .hub-logo { width: 60px; }
  .hub-page--mare .hub-logo { width: 74px; }
  .hub-page--mare .hub-header { padding-block: 10px; }
  .link-hub { padding-top: 19px; }
  .hub-intro { margin-bottom: 25px; }
  .hub-link { gap: 13px; padding-right: 14px; }
  .link-image { flex-basis: 66px; }
  .link-image img { width: 66px; height: 72px; }
  .link-copy strong { font-size: 17px; }
  .link-copy > span { font-size: 13px; }
  .link-copy small { font-size: 13px; }
  .hub-link--simple { gap: 14px; }
  .hub-link--simple .link-copy strong { font-size: 16px; }
  .hub-footer { padding-bottom: 14px; }
}
@media (max-width: 359px) {
  .hub-header, .link-hub { width: calc(100% - 28px); }
  .link-image { flex-basis: 56px; }
  .link-image img { width: 56px; }
  .hub-link { gap: 10px; }
  .link-copy strong { font-size: 16px; }
  .hub-link--simple .link-copy strong { font-size: 16px; }
  .link-arrow svg { width: 17px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hub-intro { animation: arrive 320ms both; }
  .hub-link { animation: arrive 320ms both; transition: transform 180ms var(--ease-out), background-color 180ms, border-color 180ms; }
  .hub-link:nth-child(2) { animation-delay: 30ms; }
  .hub-link:nth-child(3) { animation-delay: 60ms; }
  .hub-link:nth-child(4) { animation-delay: 90ms; }
  .hub-link:active { transform: scale(.99); }
  .link-arrow { transition: transform 180ms; }
  @keyframes arrive { from { transform: translateY(6px); } to { transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Marchio unico nelle pagine del prototipo. */
.hub-logo, .hub-page--refined .hub-logo, .clean-brand img, .brand img { width: var(--brand-logo-width) !important; height: auto !important; padding: 0; flex-shrink: 0; object-fit: contain; }
