/* Stile comune delle pagine dei progetti di Lumen (/camper/, /rover/): stessi colori e caratteri della home. */
:root { --bg: #16140F; --bg-raised: #1E1B14; --amber: #D98E2F; --amber-soft: rgba(217,142,47,0.14); --mint: #7FC79E; --cream: #F2EDE4; --dim: #8C8578; --line: rgba(242,237,228,0.09); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: radial-gradient(ellipse 120% 60% at 50% -10%, #241f16 0%, var(--bg) 55%); background-color: var(--bg); color: var(--cream); font-family: Inter, system-ui, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 600; letter-spacing: -0.01em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; backdrop-filter: blur(10px); background: rgba(22,20,15,0.78); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 19px; text-decoration: none; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft), 0 0 14px 2px rgba(217,142,47,0.55); animation: pulse 3.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.nav-links { display: flex; align-items: center; gap: 18px; font-size: 14px; color: var(--dim); }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links a.on { color: var(--cream); }
.pill { color: var(--cream) !important; border: 1px solid rgba(217,142,47,0.45); padding: 7px 14px; border-radius: 100px; }

header.hero { padding: 56px 0 48px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; }
.eyebrow { font-family: "JetBrains Mono", monospace; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--mint); opacity: .5; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.07; }
h1 em { font-style: normal; color: var(--amber); }
.sub { margin-top: 18px; font-size: 18px; color: #b7b2a6; max-width: 56ch; }
.status { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-family: "JetBrains Mono", monospace; font-size: 12.5px; color: var(--cream); border: 1px solid var(--line); background: var(--bg-raised); border-radius: 100px; padding: 5px 12px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.status.pausa i { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.cover { border-radius: 14px; overflow: hidden; border: 1px solid rgba(217,142,47,0.28); box-shadow: 0 30px 80px -40px rgba(217,142,47,0.45); background: #000; }
.cover img { width: 100%; aspect-ratio: 16 / 9; display: block; image-rendering: pixelated; image-rendering: crisp-edges; }

.section { padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.label { font-family: "JetBrains Mono", monospace; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.section h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); max-width: 26ch; margin-bottom: 14px; }
.lead { color: var(--dim); font-size: 16.5px; max-width: 70ch; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 12px 48px; align-items: end; }
.split .lead { margin-bottom: 14px; }

.cards { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.card .i { font-size: 20px; color: var(--amber); }
.card h3 { font-size: 18px; margin: 6px 0 6px; }
.card p, .card li { font-size: 14.5px; color: var(--dim); }
.card ul { margin: 8px 0 0 18px; }
.card li + li { margin-top: 3px; }
.card .tag { display: inline-block; margin-top: 10px; font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mint); border: 1px solid rgba(127,199,158,0.3); padding: 2px 8px; border-radius: 100px; }
.card .tag.prog { color: var(--amber); border-color: rgba(217,142,47,0.35); }

/* tabella dei componenti */
.table { margin-top: 26px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.table table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table th { font-family: "JetBrains Mono", monospace; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); font-weight: 500; background: #1a1812; }
.table td:first-child { color: var(--cream); font-weight: 500; white-space: nowrap; }
.table td { color: #b7b2a6; }

/* schema a passi */
.flow { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: passo; }
.step { position: relative; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 16px; }
.step::before { counter-increment: passo; content: counter(passo); display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--amber-soft); border: 1px solid rgba(217,142,47,0.45); color: var(--amber); font-family: "JetBrains Mono", monospace; font-size: 12.5px; margin-bottom: 8px; }
.step h3 { font-size: 16.5px; margin-bottom: 4px; }
.step p { font-size: 14px; color: var(--dim); }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 22px; color: var(--amber); font-size: 15px; z-index: 1; }

/* avanzamento */
.timeline { margin-top: 26px; display: grid; gap: 10px; max-width: 760px; }
.tl { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.tl b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; margin-top: 2px; border: 1px solid var(--line); color: var(--dim); }
.tl.ok b { background: rgba(127,199,158,0.15); border-color: rgba(127,199,158,0.5); color: var(--mint); }
.tl.now b { background: var(--amber-soft); border-color: rgba(217,142,47,0.55); color: var(--amber); }
.tl div { font-size: 15px; color: #b7b2a6; }
.tl div strong { color: var(--cream); font-weight: 600; }

/* foto: i riquadri vuoti mostrano cosa arriverà */
.gallery { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.foto { margin: 0; }
.foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 10px; border: 1px solid var(--line); background: #0d0f0e; }
.foto .ph { aspect-ratio: 4 / 3; border-radius: 10px; border: 1px dashed rgba(242,237,228,0.18); display: grid; place-items: center; text-align: center; padding: 12px; color: var(--dim); font-family: "JetBrains Mono", monospace; font-size: 12px; background: repeating-linear-gradient(135deg, rgba(242,237,228,0.02) 0 10px, transparent 10px 20px); }
.foto figcaption { margin-top: 8px; font-size: 13.5px; color: var(--dim); }

.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; background: #0d0f0e; border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 14px; padding: 22px 24px; }
.cta h3 { font-size: 22px; }
.cta p { color: var(--dim); font-size: 15px; max-width: 62ch; margin-top: 4px; }
.btn { display: inline-block; text-decoration: none; font-weight: 500; font-size: 15px; padding: 12px 20px; border-radius: 100px; }
.btn-primary { background: var(--amber); color: #1b1408; }
.btn-ghost { border: 1px solid var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: rgba(217,142,47,0.45); }
.more { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; }
.more a { color: var(--amber); text-decoration: none; border-bottom: 1px solid rgba(217,142,47,0.4); }

footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--dim); font-size: 14px; }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--line); }

@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, 1fr); } .step:nth-child(2)::after { display: none; } .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  header.hero, .split, .cards, .cards.c2 { grid-template-columns: 1fr; }
  header.hero { padding: 40px 0 36px; gap: 26px; }
  .flow { grid-template-columns: 1fr; } .step::after { display: none !important; }
  .nav-links .hide-m { display: none; } .nav-links { gap: 12px; font-size: 13.5px; } .pill { padding: 6px 11px; } nav { padding: 14px 16px; }
  .table td:first-child { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.nav-links a, .pill { white-space: nowrap; }
@media (max-width: 430px) { .pill .pl { display: none; } .nav-links { gap: 10px; } }
