/* Frank Prochilo Photography — impaginazione come il vecchio sito wfolio:
   grigio scuro, testi Roboto, titoli Forum, colonna centrale, foto con angoli arrotondati. */

:root {
  --bg: #1e1e1e;
  --surface: #262626;
  --line: #353535;
  --text: #ffffff;
  --soft: #e6e6e6;
  --muted: #a8a8a8;
  --title: 'Forum', Georgia, serif;
  --sans: 'Roboto', system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --col: 600px;      /* colonna dei testi */
  --wide: 960px;     /* foto dentro il testo */
  --grid: 1240px;    /* gallerie e categorie */
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.15; }
p { margin: 0 0 1.1em; }

.narrow-col { max-width: calc(var(--col) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wide { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.grid-wrap { max-width: calc(var(--grid) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }

/* ---------- testata: logo in alto al centro, menu sotto con i pallini ---------- */
.top { position: relative; z-index: 5; background: var(--bg); padding: 22px var(--gutter) 30px; text-align: center; }
.logo { display: inline-block; text-decoration: none; }
.logo img { height: 44px; width: auto; margin: 0 auto; }
.logo span { font: 400 22px/1 var(--title); letter-spacing: .08em; text-transform: uppercase; }
.top nav { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.top nav a { font: 400 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; padding: 6px 0; }
.top nav a + a::before { content: '•'; display: inline-block; margin: 0 28px; color: var(--muted); }
.top nav a span { padding-bottom: 3px; border-bottom: 1px solid transparent; }
.top nav a:hover span, .top nav a[aria-current="page"] span { border-bottom-color: currentColor; }
.menu-btn { display: none; }

@media (max-width: 760px) {
  .top { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); text-align: left; }
  .logo img { height: 34px; }
  .menu-btn { display: grid; gap: 6px; width: 40px; height: 40px; place-content: center; background: none; border: 0; padding: 0; cursor: pointer; }
  .menu-btn span { width: 22px; height: 1.5px; background: var(--text); transition: transform .25s; }
  .menu-open .menu-btn span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-open .menu-btn span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .top nav {
    position: fixed; inset: 0; z-index: -1; margin: 0;
    flex-direction: column; justify-content: center; gap: 30px;
    background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .top nav a { font-size: 15px; }
  .top nav a + a::before { content: none; }
  .menu-open .top nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
}

/* ---------- foto grande che resta ferma mentre la pagina le scorre sopra ---------- */
.hero { position: sticky; top: 0; z-index: 0; height: 100svh; min-height: 420px; overflow: hidden; background: #000; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero.dim::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .38); }
.hero-arrow {
  position: absolute; z-index: 1; left: 50%; bottom: 28px; transform: translateX(-50%);
  font-size: 22px; text-decoration: none; opacity: .8; animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 6px); } }
.sheet { position: relative; z-index: 1; background: var(--bg); padding-top: clamp(48px, 7vw, 80px); }

/* ---------- home: testo e foto alternati in colonna ---------- */
.motto { font: 400 clamp(28px, 3.6vw, 38px)/1.15 var(--title); text-transform: uppercase; letter-spacing: .02em; text-align: center; margin-bottom: 26px; }
.story p { color: var(--soft); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 4vw, 50px); margin: clamp(32px, 5vw, 50px) auto; }
.pair img, .single img { width: 100%; border-radius: var(--radius); }
.pair img { aspect-ratio: 1; object-fit: cover; }
.single { margin: clamp(32px, 5vw, 50px) auto; }

/* ---------- titoli di sezione ---------- */
.section-title { font: 400 22px/1 var(--title); text-transform: uppercase; letter-spacing: .02em; text-align: center; margin: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 44px); }
.page-title { font: 400 clamp(30px, 4vw, 42px)/1.1 var(--title); text-transform: uppercase; letter-spacing: .02em; text-align: center; margin: clamp(20px, 3vw, 36px) 0 clamp(28px, 4vw, 44px); }
.lead { text-align: center; color: var(--muted); margin: -16px auto 36px; max-width: 60ch; }

/* ---------- categorie: quadrati con il titolo al centro ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 3vw, 40px); }
.tile { position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); text-decoration: none; background: var(--surface); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.tile::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .12); transition: background .4s; }
.tile-title { position: relative; z-index: 1; font: 700 clamp(17px, 2vw, 24px)/1.2 var(--sans); text-shadow: 0 1px 12px rgba(0,0,0,.55); padding-bottom: 2px; border-bottom: 2px solid transparent; transition: border-color .3s; }
.tile:hover img { transform: scale(1.05); }
.tile:hover::after { background: rgba(0, 0, 0, .28); }
.tile:hover .tile-title { border-bottom-color: currentColor; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr 1fr; } }

/* ---------- citazione ---------- */
.quote { margin: clamp(64px, 9vw, 110px) auto; padding: 0 var(--gutter); max-width: 760px; text-align: center; }
.quote blockquote { margin: 0; font: 400 clamp(24px, 3vw, 30px)/1.3 var(--title); }
.quote figcaption { margin-top: 12px; color: var(--muted); }

/* ---------- galleria a righe giustificate (nessun ritaglio) ---------- */
.gallery { display: flex; flex-wrap: wrap; gap: 10px; --row: clamp(170px, 26vw, 400px); }
.gallery::after { content: ''; flex-grow: 1000000; }
.gallery a { position: relative; flex-grow: var(--r); flex-basis: calc(var(--row) * var(--r)); aspect-ratio: var(--r); overflow: hidden; background: var(--surface); cursor: zoom-in; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.gallery a:hover img { transform: scale(1.03); }
@media (max-width: 560px) { .gallery { --row: 130px; gap: 5px; } }

/* ---------- servizi ---------- */
.strip { display: flex; gap: 10px; height: clamp(150px, 22vw, 300px); margin-bottom: clamp(40px, 6vw, 64px); }
.strip img { flex: var(--r) 1 0; min-width: 0; height: 100%; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 560px) { .strip { height: 110px; gap: 5px; } }
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.pack { padding: 34px 30px; border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; }
.pack h2 { font: 400 28px/1 var(--title); text-transform: uppercase; margin-bottom: 20px; }
.pack ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.pack li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--soft); }
.pack .price { font: 400 34px/1 var(--title); }

/* ---------- testimonianze ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.testimonial { margin: 0; padding: 30px; border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.testimonial blockquote { margin: 0; font: 400 21px/1.4 var(--title); }
.testimonial figcaption { font-weight: 500; color: var(--muted); }
.testimonial figcaption a { text-decoration: none; }

/* ---------- pulsante ---------- */
.btn {
  display: inline-block; min-width: 140px; padding: 18px 34px; border: 1px solid var(--text); border-radius: 999px; text-align: center;
  background: transparent; color: var(--text); font: 400 12px/18px var(--sans); text-transform: uppercase; letter-spacing: .06em;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, opacity .2s;
}
.btn:hover, .btn.fill { background: var(--text); color: var(--bg); }
.btn.fill:hover { opacity: .85; }
.btn:disabled { opacity: .5; cursor: wait; }
.cta { text-align: center; margin: clamp(56px, 8vw, 96px) auto; }
.cta h2 { font: 400 clamp(24px, 3vw, 32px)/1.2 var(--title); text-transform: uppercase; margin-bottom: 22px; }
.notfound { min-height: 45vh; text-align: center; }

/* ---------- contatti ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 70px); align-items: start; }
.contact .story p { color: var(--soft); }
.portrait { width: 100%; max-width: 360px; border-radius: var(--radius); margin-bottom: 26px; }
.contact-name { font: 400 30px/1.1 var(--title); text-transform: uppercase; margin-bottom: 16px; }
.ig { text-decoration: none; border-bottom: 1px solid currentColor; }
.contact-form { padding: clamp(24px, 4vw, 38px); border-radius: var(--radius); background: var(--surface); }
.contact-form h2 { font: 400 26px/1.15 var(--title); text-transform: uppercase; }
.contact-form .muted { margin: 10px 0 22px; font-size: 15px; }
.contact-form label { display: block; margin-bottom: 18px; font-size: 13px; color: var(--muted); }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 10px;
  font: 400 16px/1.5 var(--sans); outline: none; transition: border-color .2s; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--text); }
.contact-form .btn { margin-top: 6px; width: 100%; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 16px 0 0; min-height: 1.6em; font-size: 15px; }
.form-msg.ok { color: #9fd4a6; }
.form-msg.err { color: #f0a29b; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- piè di pagina ---------- */
.foot { position: relative; z-index: 1; background: var(--bg); padding: 56px var(--gutter) 40px; text-align: center; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-bottom: 18px; }
.foot-links a { font-size: 14px; color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.foot-copy { font-size: 12px; color: #7a7a7a; }
[data-secret] { cursor: default; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }

/* ---------- visore a schermo intero ---------- */
.lb { position: fixed; inset: 0; z-index: 50; background: rgba(12, 12, 12, .97); display: grid; place-items: center; opacity: 0; transition: opacity .25s; touch-action: pan-y; }
.lb.open { opacity: 1; }
.lb img { max-width: 94vw; max-height: 88vh; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: opacity .2s; }
.lb img.loading { opacity: .35; }
.lb button { position: absolute; background: none; border: 0; color: var(--text); cursor: pointer; width: 56px; height: 56px; font: 300 30px/1 var(--sans); opacity: .7; transition: opacity .2s; }
.lb button:hover { opacity: 1; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: 13px; color: var(--muted); }
@media (max-width: 560px) { .lb-prev, .lb-next { display: none; } .lb img { max-width: 100vw; } }

/* ---------- comparsa morbida allo scorrimento e passaggio tra le pagine ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-arrow { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* =========================================================================
   Pagine a blocchi (come wfolio): riga → colonne su griglia di 12 → elementi
   ========================================================================= */
.blk { position: relative; background-color: var(--bg); background-size: cover; background-repeat: no-repeat; }
.blk.bg-accent { background-color: var(--accent-bg, #323232); }
.blk.bg-image { background-color: #111; display: flex; flex-direction: column; justify-content: center; }
.blk.bg-fixed { background-attachment: fixed; }
@media (hover: none), (max-width: 760px) { .blk.bg-fixed { background-attachment: scroll; } }
.blk.bg-overlay::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.blk-in { position: relative; width: 100%; margin: 0 auto; padding: 0 var(--gutter); max-width: calc(1150px + 2 * var(--gutter)); }
.w-small .blk-in { max-width: calc(910px + 2 * var(--gutter)); }
.w-large .blk-in { max-width: calc(1390px + 2 * var(--gutter)); }
.w-max .blk-in { max-width: none; padding: 0; }
/* Spazi sopra e sotto le righe: gli stessi valori di wfolio (25 · 50 · 100 · 200 px; con foto di sfondo 100 · 200 · 300 · 400). */
.blk { --sm: 25px; --md: 50px; --lg: 100px; --xl: 200px; }
.blk.bg-image { --sm: 100px; --md: 200px; --lg: 300px; --xl: 400px; }
@media (max-width: 760px) {
  .blk { --sm: 20px; --md: 36px; --lg: 64px; --xl: 120px; }
  .blk.bg-image { --sm: 64px; --md: 110px; --lg: 160px; --xl: 220px; }
}
.pt-none { padding-top: 0; } .pt-small { padding-top: var(--sm); } .pt-medium { padding-top: var(--md); } .pt-large { padding-top: var(--lg); } .pt-xl { padding-top: var(--xl); }
.pb-none { padding-bottom: 0; } .pb-small { padding-bottom: var(--sm); } .pb-medium { padding-bottom: var(--md); } .pb-large { padding-bottom: var(--lg); } .pb-xl { padding-bottom: var(--xl); }
.blk-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 3.5vw, 50px); row-gap: 30px; }
.blk.mid .blk-row { align-items: center; }
.col { grid-column-end: span var(--w); display: flex; flex-direction: column; gap: 24px; min-width: 0; }
@media (max-width: 760px) {
  .col { grid-column: 1 / -1 !important; }
  .blk.rev .blk-row > .col:first-child { order: 2; }
}

/* testo (come wfolio: titoli h1 e h2 alla misura dei titoli, h3 dei sottotitoli; testo bianco) */
.rich { color: var(--text); line-height: 1.5; }
.rich > :first-child { margin-top: 0; }
.rich > :last-child { margin-bottom: 0; }
.rich h1, .rich h2 { font: 400 clamp(26px, 4vw, 36px)/1.1 var(--title); color: var(--text); margin: 0 0 .5em; }
.rich h3 { font: 400 clamp(19px, 2.4vw, 24px)/1.1 var(--title); color: var(--text); margin: 0 0 .5em; }
.rich p { margin: 0 0 1em; }
.rich ul, .rich ol { margin: 0 0 1em; padding-left: 1.25em; }
.rich li { margin-bottom: .3em; }
.rich a { color: var(--text); }
.blk.bg-image .rich, .blk.bg-image .rich h1, .blk.bg-image .rich h2 { color: #fff; text-shadow: 0 1px 16px rgba(0,0,0,.35); }

/* foto */
.it-pic { margin: 0; overflow: hidden; }
.it-pic.rounded { border-radius: var(--radius); }
.it-pic.round { border-radius: 50%; }
.it-pic img { width: 100%; height: auto; }
.it-pic.cropped img { height: 100%; object-fit: cover; }
.it-pic a { display: block; height: 100%; }

/* pulsante, video, separatori */
.it-btn { margin: 0; }
.it-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.it-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.it-sep { width: 100%; border: 0; border-top: 1px solid var(--line); margin: 0; }
.it-spacer { height: clamp(24px, 5vw, 60px); }
.it-empty { display: grid; place-items: center; min-height: 180px; border: 1px dashed #555; border-radius: var(--radius); background: var(--surface); color: var(--muted); font-size: 14px; }

/* recensioni */
.review-cta { text-align: center; margin-top: 36px; }
.review-dialog { width: min(560px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--text); }
.review-dialog::backdrop { background: rgba(0, 0, 0, .7); }
.review-dialog .contact-form { background: none; }
.review-actions { display: flex; gap: 10px; justify-content: flex-end; }
.review-actions .btn { width: auto !important; }

/* copertina: una o più foto (scorrono da sole), versioni per computer e per telefono */
.hero .cv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero .cv-img.on { opacity: 1; }
.hero.cv-auto { height: 70vh; }
.cv-content { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 0 var(--gutter); text-align: center; color: #fff; }
.hero.cv-bottom .cv-content { justify-content: flex-end; padding-bottom: 90px; }
.cv-text h1, .cv-text h2 { color: #fff; }
@media (min-width: 761px) { .only-mobile { display: none; } }
@media (max-width: 760px) {
  .only-desktop { display: none; }
  .hero.cvm-2-3 { height: auto; min-height: 0; aspect-ratio: 2 / 3; }
  .hero.cvm-original { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
}

/* biglietto da visita /me */
.card-page { min-height: 100svh; display: grid; place-items: center; padding: 40px 16px; }
.vcard { width: min(420px, 100%); text-align: center; background: var(--surface); border-radius: 20px; padding: 40px 28px 30px; }
.vcard-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; }
.vcard h1 { font: 400 34px/1.1 var(--title); margin: 0 0 6px; }
.vcard-job { color: var(--muted); margin: 0 0 22px; }
.vcard-line { display: block; font-size: 18px; text-decoration: none; margin: 8px 0; }
.vcard-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.vcard-site { margin: 26px 0 0; font-size: 14px; }
.vcard-site a { color: var(--muted); }

/* ---------- menu a tendina ---------- */
.dd { position: relative; display: inline-flex; }
.dd-btn { background: none; border: 0; color: inherit; cursor: pointer; padding: 6px 0; font: 400 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .02em; }
.dd-btn span { padding-bottom: 3px; border-bottom: 1px solid transparent; }
.dd-btn::after { content: ' ▾'; font-size: .8em; color: var(--muted); }
.dd.current .dd-btn span, .dd-btn:hover span { border-bottom-color: currentColor; }
.dd-list { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); z-index: 30; min-width: 180px; display: none; flex-direction: column; padding: 10px 0; background: var(--surface); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.dd:hover .dd-list, .dd.open .dd-list { display: flex; }
.dd-list a { padding: 9px 18px !important; white-space: nowrap; }
.dd-list a::before { content: none !important; }
@media (min-width: 761px) { .top nav .dd + a::before, .top nav a + .dd::before, .top nav .dd + .dd::before { content: '•'; display: inline-block; margin: 0 28px; color: var(--muted); align-self: center; } }
@media (max-width: 760px) {
  .dd { flex-direction: column; align-items: center; }
  .dd-btn { font-size: 15px; }
  .dd-list { position: static; transform: none; box-shadow: none; background: none; padding: 6px 0 0; min-width: 0; align-items: center; }
  .dd.open .dd-list { display: flex; }
  .dd:hover .dd-list { display: none; }
  .dd.open:hover .dd-list { display: flex; }
}

/* ---------- splash page: foto a tutto schermo con logo e menu sopra ---------- */
.splash-page .top { position: absolute; left: 0; right: 0; z-index: 10; background: linear-gradient(rgba(0,0,0,.45), transparent); }
.splash-page .top nav a, .splash-page .dd-btn { color: #fff; }
.splash-page .hero { position: relative; height: 100svh; }
.splash-page .foot { display: none; }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(20px, 3vw, 40px); }
.post-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.post-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.post-card:hover .post-img img { transform: scale(1.04); }
.post-body { display: flex; flex-direction: column; gap: 6px; }
.post-date { font-size: 13px; color: var(--muted); }
.post-title { font: 400 clamp(20px, 2.4vw, 26px)/1.2 var(--title); }
.post-excerpt { color: var(--soft); font-size: .95em; }
.post-head { text-align: center; padding-top: clamp(40px, 6vw, 80px); }
.post-head .post-date { margin: 0 0 8px; }
.album-desc { margin: -10px auto 30px; text-align: center; }
.pw-form { max-width: 360px; margin: 24px auto 0; text-align: left; }

/* ---------- social in testata / piè di pagina, descrizione degli album ---------- */
.top-social { display: none; gap: 14px; justify-content: center; margin-top: 14px; }
.foot-social { display: flex; gap: 16px; justify-content: center; margin-bottom: 18px; }
.top-social a, .foot-social a { display: inline-flex; color: var(--muted); text-decoration: none; transition: color .2s; }
.top-social a:hover, .foot-social a:hover { color: var(--text); }
.top-social svg, .foot-social svg { width: 20px; height: 20px; }
.tile-desc { display: none; position: relative; z-index: 1; font-size: 13px; color: rgba(255,255,255,.85); margin-top: 6px; text-align: center; padding: 0 12px; }
.tile { grid-auto-flow: row; align-content: center; }
.pw-message { color: var(--soft); margin: 0 auto 12px; max-width: 46ch; }

/* ---------- modulo contatti come wfolio ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wf-form { background: transparent; padding: 0; border-radius: 0; }
.wf-form label { margin: 0 0 10px; }
.wf-form input, .wf-form textarea {
  margin: 0; padding: 12px 0; background: transparent; color: var(--text);
  border: 0; border-bottom: 1px solid color-mix(in srgb, var(--text) 25%, transparent); border-radius: 0; font-size: 17px;
}
.wf-form textarea { min-height: 204px; }
.wf-form input::placeholder, .wf-form textarea::placeholder { color: color-mix(in srgb, var(--text) 40%, transparent); }
.wf-form input:focus, .wf-form textarea:focus { border-bottom-color: var(--text); }
.wf-send { text-align: center; margin-top: 40px; }
.wf-send .btn { width: auto !important; margin: 0; }
