/* NEW DESIGN MOVIE — stile del sito
   Palette: nero #0F0F0F, arancio #FF5900, avorio #F4F1EC. Font: Barlow (titoli) + Poppins (testo). */

:root {
  --bg: #0f0f0f;
  --bg-2: #151515;
  --bg-3: #1d1d1d;
  --text: #f4f1ec;
  --muted: #c9c3bb;
  --dim: #8f8a84;
  --accent: #ff5900;
  --accent-2: #ff8a4c;
  --line: rgba(255, 255, 255, .12);
  --head: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --body: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-weight: 300; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 500; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--accent); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section.tight { padding-top: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--head); font-weight: 600; font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.h-xl { font-size: clamp(2.6rem, 7vw, 5.6rem); }
.h-lg { font-size: clamp(2.1rem, 4.8vw, 3.8rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 760px; }
.muted { color: var(--muted); }

/* ---------- Header / menu ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: linear-gradient(180deg, rgba(15,15,15,.85), rgba(15,15,15,0));
  transition: background .35s, box-shadow .35s;
}
.site-header.scrolled { background: rgba(15,15,15,.94); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 46px; width: auto; }
.menu { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); margin: 0; padding: 0; list-style: none; }
.menu a {
  font-family: var(--body); font-weight: 300; font-size: .98rem; color: #fff; text-decoration: none;
  padding: 6px 0; position: relative;
}
.menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--accent); transition: right .3s; }
.menu a:hover::after, .menu a[aria-current="page"]::after { right: 0; }
.menu a[aria-current="page"] { color: var(--accent); }
.menu .menu-cta { border: 1px solid var(--accent); padding: 8px 18px; }
.menu .menu-cta::after { display: none; }
.menu .menu-cta:hover { background: var(--accent); }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: .3s; }

@media (max-width: 960px) {
  .burger { display: block; position: relative; z-index: 2; }
  /* backdrop-filter sull'header renderebbe il menu "fixed" relativo all'header (alto 76px):
     su mobile lo togliamo, cosi' il menu copre tutto lo schermo */
  .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu {
    position: fixed; inset: 0; height: 100vh; height: 100dvh; overflow-y: auto; z-index: 1;
    flex-direction: column; justify-content: center; gap: 26px; padding: var(--header-h) 24px 32px;
    background: #0f0f0f; transform: translateY(-100%); visibility: hidden; transition: transform .4s, visibility .4s;
  }
  .menu.open { visibility: visible; }
  .logo { position: relative; z-index: 2; }
  .menu.open { transform: none; }
  .menu a { font-family: var(--head); font-size: 2rem; font-weight: 500; }
  body.menu-open { overflow: hidden; }
  body.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.menu-open .burger span:nth-child(2) { opacity: 0; }
  body.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 400; font-size: .92rem; letter-spacing: .04em;
  color: #fff; background: var(--accent); border: 1px solid var(--accent);
  padding: 13px 26px; text-decoration: none; cursor: pointer; transition: .25s;
}
.btn:hover { background: transparent; color: var(--accent-2); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; background: rgba(255,89,0,.12); }
.btn .tri { width: 0; height: 0; border-left: 9px solid currentColor; border-block: 6px solid transparent; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,15,15,.45) 0%, rgba(15,15,15,.05) 40%, rgba(15,15,15,.92) 100%),
              linear-gradient(90deg, rgba(15,15,15,.55) 0%, rgba(15,15,15,0) 60%);
}
.hero-content { position: relative; z-index: 1; padding-bottom: clamp(64px, 12vh, 120px); }
.hero-text { border-left: 1px solid rgba(255,255,255,.6); padding-left: clamp(20px, 4vw, 56px); max-width: 900px; }
.hero h1 { font-size: clamp(3.2rem, 10vw, 8rem); line-height: .92; margin: 0 0 .22em; }
.hero .tagline { font-weight: 200; font-size: clamp(1.15rem, 2.3vw, 1.7rem); margin: 0 0 32px; }
.hero-scroll {
  position: absolute; z-index: 1; right: var(--gutter); bottom: 36px; writing-mode: vertical-rl;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); text-decoration: none;
}
.hero-scroll::after { content: ""; display: inline-block; width: 1px; height: 54px; margin-top: 12px; background: var(--accent); }

.strip { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; }
.strip ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px clamp(18px, 4vw, 54px); margin: 0; padding: 0; list-style: none;
  font-family: var(--head); font-weight: 300; font-size: clamp(.95rem, 2vw, 1.3rem); letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.strip li + li::before { content: "•"; color: var(--accent); margin-right: clamp(18px, 4vw, 54px); letter-spacing: 0; }

/* ---------- Intro / numeri ---------- */
.intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 7vw, 110px); align-items: start; }
.intro p { font-size: 1.12rem; color: var(--muted); }
.more-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 8px; text-decoration: none; }
.more-link .plus {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent); font-size: 1.5rem; transition: .25s;
}
.more-link:hover .plus { background: var(--accent); color: #fff; transform: rotate(90deg); }
@media (max-width: 820px) { .intro { grid-template-columns: 1fr; } }

/* ---------- Servizi ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 56px; }
.service { padding: 34px 28px 10px 0; border-right: 1px solid var(--line); }
.service + .service { padding-left: 28px; }
.service:last-child { border-right: 0; }
.service .num { font-family: var(--head); font-weight: 300; color: var(--accent); letter-spacing: .1em; }
.service h3 { font-size: 1.5rem; margin: 14px 0 10px; }
.service p { color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service { padding: 28px 20px 8px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .service:nth-child(odd) { padding-right: 20px; }
  .service:nth-child(even) { padding-left: 20px !important; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .service:nth-child(even) { padding-left: 0 !important; border-left: 0; }
}

/* ---------- Slate (home) ---------- */
.slate-band { background: var(--bg-2); }
.slate-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.slate-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px;
  padding: 28px; text-decoration: none; overflow: hidden; background: #000; isolation: isolate;
}
.slate-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s, opacity .4s; opacity: .7; }
.slate-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.92) 100%); }
.slate-card:hover img { transform: scale(1.06); opacity: .9; }
.slate-card .n { position: absolute; top: 18px; right: 22px; font-family: var(--head); font-weight: 800; font-size: 4.4rem; line-height: 1; color: rgba(255,255,255,.12); }
.slate-card small { color: var(--accent-2); letter-spacing: .16em; text-transform: uppercase; font-size: .74rem; }
.slate-card h3 { font-size: 1.7rem; margin: 10px 0 8px; }
.slate-card p { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
.slate-card .go { font-size: .85rem; color: #fff; border-bottom: 1px solid var(--accent); align-self: flex-start; padding-bottom: 2px; }
@media (max-width: 960px) { .slate-cards { grid-template-columns: 1fr; } .slate-card { min-height: 380px; } }

/* ---------- Griglia progetti ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; }
.filter {
  font: inherit; font-size: .85rem; color: var(--muted); background: transparent; cursor: pointer;
  border: 1px solid var(--line); padding: 8px 18px; transition: .2s;
}
.filter:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.filter.active { color: #fff; border-color: var(--accent); background: rgba(255,89,0,.14); }
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 44px 28px; }
.project { display: block; text-decoration: none; }
.project[hidden] { display: none; }
.project-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #000; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s, opacity .4s; opacity: .92; }
.project-img.poster img { object-fit: contain; }
.project:hover .project-img img { transform: scale(1.05); opacity: 1; }
.badge {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px;
  background: rgba(15,15,15,.82); border: 1px solid var(--line); color: #fff;
}
.badge.production { border-color: var(--accent); color: var(--accent-2); }
.project-meta { margin-top: 16px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.project h3 { font-size: 1.55rem; margin: 6px 0 6px; transition: color .2s; }
.project p { color: var(--muted); font-size: .95rem; margin: 0; }
.project:hover h3 { color: var(--accent-2); }

/* ---------- Video ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 26px; }
.video-card { display: block; width: 100%; text-align: left; padding: 0; border: 0; cursor: pointer; background: var(--bg-2); color: #fff; font: inherit; }
.video-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .3s; opacity: .82; }
.video-card:hover .video-thumb img { transform: scale(1.05); opacity: 1; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 66px; height: 66px; border-radius: 50%; background: rgba(15,15,15,.55);
  border: 1px solid rgba(255,255,255,.85); display: grid; place-items: center; transition: .25s;
}
.play::before { content: ""; border-left: 18px solid #fff; border-block: 11px solid transparent; margin-left: 5px; }
.video-card:hover .play, .video-facade:hover .play { background: var(--accent); border-color: var(--accent); transform: translate(-50%, -50%) scale(1.06); }
.duration { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.78); font-size: .78rem; padding: 2px 8px; }
.video-info { padding: 16px 18px 20px; }
.video-info small { display: block; color: var(--dim); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.video-info h3 { font-family: var(--body); font-weight: 400; font-size: 1rem; line-height: 1.45; margin: 6px 0 0; letter-spacing: 0; }
.video-facade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer; background: #000; overflow: hidden; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-facade .label { position: absolute; left: 16px; bottom: 14px; font-size: .85rem; color: #fff; text-shadow: 0 1px 6px #000; }
.video-list { display: grid; gap: 18px; }
.privacy-hint { font-size: .78rem; color: var(--dim); margin-top: 10px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.94); display: grid; place-items: center; padding: var(--gutter); }
.lightbox[hidden] { display: none; }
.lightbox-frame { width: min(1180px, 100%); aspect-ratio: 16 / 9; background: #000; }
.lightbox-frame iframe { width: 100%; height: 100%; border: 0; }
.lightbox-close { position: absolute; top: 14px; right: 20px; background: none; border: 0; color: #fff; font-size: 2.8rem; line-height: 1; cursor: pointer; }
.lightbox-close:hover { color: var(--accent); }

/* ---------- Banda industry ---------- */
.industry { position: relative; overflow: hidden; background: #120a05; }
.industry::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(circle at 85% 20%, rgba(255,89,0,.35), transparent 45%), radial-gradient(circle at 10% 90%, rgba(255,89,0,.15), transparent 40%);
}
.industry .wrap { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.industry ul { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.industry li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.industry li::before { content: "→"; color: var(--accent); margin-right: 12px; }
@media (max-width: 860px) { .industry .wrap { grid-template-columns: 1fr; } }

/* ---------- Newsletter ---------- */
.newsletter { text-align: center; border-top: 1px solid var(--line); }
.newsletter .eyebrow { justify-content: center; }
.newsletter .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.newsletter-form { display: flex; max-width: 560px; margin: 28px auto 0; }
.newsletter-form input {
  flex: 1; min-width: 0; padding: 14px 18px; font: inherit; color: #fff;
  background: transparent; border: 1px solid var(--line); border-right: 0;
}
.newsletter-form input:focus { outline: none; border-color: var(--accent); }
.form-msg { margin-top: 16px; color: var(--accent-2); min-height: 1.7em; }
@media (max-width: 520px) {
  .newsletter-form { flex-direction: column; gap: 12px; }
  .newsletter-form input { border-right: 1px solid var(--line); }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; color: var(--dim); font-size: .9rem; background: #0b0b0b; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h4 { font-family: var(--head); font-weight: 600; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: #fff; margin: 6px 0 16px; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.footer-logo img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .82rem; }
.industry-link { letter-spacing: .2em; text-transform: uppercase; font-size: .72rem; text-decoration: none; border-bottom: 1px solid rgba(255,89,0,.4); }
.industry-link:hover { color: var(--accent); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Pagine interne ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(64px, 10vw, 120px)) 0 clamp(32px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 6.2rem); line-height: .95; }

/* Scheda progetto */
.project-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; }
.project-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.project-hero.poster > img { object-fit: cover; filter: blur(18px) brightness(.6); transform: scale(1.1); opacity: .8; }
.project-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,15,.3), rgba(15,15,15,.96)); }
.project-hero .wrap { position: relative; z-index: 1; padding: calc(var(--header-h) + 60px) 0 56px; }
.project-hero h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .95; max-width: 1000px; }
.back { display: inline-block; margin-bottom: 26px; color: var(--muted); text-decoration: none; font-size: .9rem; }
.back:hover { color: var(--accent); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 18px 0 30px; color: var(--muted); font-size: .9rem; letter-spacing: .06em; }
.facts span::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--accent); margin-right: 10px; vertical-align: middle; }
.project-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.project-body .synopsis p { font-size: 1.12rem; color: var(--muted); }
.project-body .synopsis p:first-child { font-family: var(--head); font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; color: #fff; }
.credits { margin: 30px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; font-size: .95rem; }
.credits dt { color: var(--dim); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; padding-top: 4px; }
.credits dd { margin: 0; color: #fff; }
.share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.share a, .share button {
  font: inherit; font-size: .82rem; color: var(--muted); background: none; cursor: pointer;
  border: 1px solid var(--line); padding: 6px 14px; text-decoration: none;
}
.share a:hover, .share button:hover { color: var(--accent); border-color: var(--accent); }
.project-nav { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 72px; }
.project-nav a { text-decoration: none; color: var(--muted); }
.project-nav a:hover { color: var(--accent); }
.project-nav strong { display: block; font-family: var(--head); font-weight: 500; font-size: 1.3rem; color: #fff; }
@media (max-width: 900px) { .project-body { grid-template-columns: 1fr; } }

/* About */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); }
.about-intro p { color: var(--muted); font-size: 1.12rem; }
.about-intro p.big { font-family: var(--head); font-weight: 300; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.3; color: #fff; }
@media (max-width: 820px) { .about-intro { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.value { background: var(--bg-2); padding: 30px; border-top: 2px solid var(--accent); }
.value h3 { font-size: 1.35rem; }
.value p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 44px 28px; }
.member figure { margin: 0; overflow: hidden; background: #000; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.45) brightness(.92); transition: transform .6s, filter .6s; }
.member:hover img { transform: scale(1.04); filter: grayscale(1) contrast(1.6) brightness(1); }
.member h3 { font-family: var(--body); font-weight: 400; font-size: 1.12rem; margin: 16px 0 2px; letter-spacing: 0; }
.member .role { color: var(--accent); font-size: .9rem; margin: 0 0 4px; }
.member a { color: var(--dim); font-size: .85rem; text-decoration: none; word-break: break-all; }
.member a:hover { color: #fff; }

/* Contatti */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.contact-block { padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-block:first-child { padding-top: 0; }
.contact-block h3 { font-family: var(--head); font-weight: 600; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.contact-block p { margin: 0; color: var(--muted); }
.contact-block a { color: #fff; text-decoration: none; }
.contact-block a:hover { color: var(--accent); }
.contact-form { display: grid; gap: 18px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-size: .85rem; color: var(--muted); }
.contact-form input, .contact-form textarea, .contact-form select {
  font: inherit; color: #fff; background: var(--bg-2); padding: 13px 14px; border: 1px solid var(--line); border-radius: 0;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--accent); }
.contact-form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; }
.contact-form .consent input { margin-top: 4px; }
.contact-form .consent a { color: var(--accent-2); }
@media (max-width: 820px) { .contact-grid, .contact-form .row { grid-template-columns: 1fr; } }

/* Testi legali */
.legal { max-width: 860px; color: var(--muted); }
.legal h2 { color: #fff; font-size: 1.4rem; margin-top: 2em; }
.legal strong { color: #fff; font-weight: 400; }
.legal a { color: var(--accent-2); }
.legal .lang-block + .lang-block { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }

/* 404 */
.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(5rem, 18vw, 12rem); color: var(--accent); margin: 0; }

/* Comparsa allo scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media { display: none; }
  .hero { background: url(img/projects/girls-of-venice.jpg) center / cover; }
}
