/* LiveWeights Production: home (studio.html) e blog dello studio (devblog.html). */
/* Barlow e Barlow Condensed: SIL Open Font License 1.1 (img/fonts/OFL.txt), serviti da qui: niente Google Fonts */
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(/img/fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(/img/fonts/barlow-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(/img/fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(/img/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }
:root {
  --bg: #0b0f12; --bg-2: #11171b; --panel: #151d22; --line: rgba(255, 255, 255, .1);
  --text: #e9edf0; --muted: #9aa7b0; --soft: #c3ccd2; --gold: #ebbd76; --gold-2: #f5d39c;
  --font: "Barlow Condensed", Bahnschrift, "Roboto Condensed", "Arial Narrow", sans-serif;
  --body: Barlow, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
h1, h2, h3, .btn, .eyebrow, .brand, .links, .tag { font-family: var(--font); }
p { margin: 0 0 16px; color: var(--soft); }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .3em; font-size: 14px; font-weight: 600; margin: 0 0 14px;
  display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.05; margin: 0 0 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; background: var(--gold); color: #12100c; text-decoration: none;
  text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: 16px; border-radius: 3px; border: 1px solid var(--gold);
  transition: background .2s, transform .2s, box-shadow .2s; box-shadow: 0 10px 30px rgba(235, 189, 118, .18); }
.btn:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn-ghost { background: rgba(0, 0, 0, .35); color: var(--text); border-color: rgba(255, 255, 255, .35); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn svg { width: 16px; height: 16px; }

/* barra in alto */
.nav { position: absolute; inset: 0 0 auto; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px clamp(16px, 3vw, 40px); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand span { display: flex; flex-direction: column; line-height: 1; font-weight: 700; letter-spacing: .26em; font-size: 15px; }
.brand b { font-weight: 600; font-size: 10px; letter-spacing: .5em; color: var(--muted); margin-top: 5px; }
.links { display: flex; gap: 28px; }
.links a { text-decoration: none; text-transform: uppercase; letter-spacing: .18em; font-size: 14px; color: #cfd6db; }
.links a:hover { color: var(--gold); }

/* apertura */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; padding: 120px 0 80px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; opacity: .55; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 8%, rgba(11, 15, 18, .75) 45%, rgba(11, 15, 18, .2)), linear-gradient(0deg, var(--bg), transparent 40%); }
.hero h1 { font-size: clamp(42px, 6.6vw, 88px); line-height: .95; margin: 0 0 22px; text-transform: uppercase; font-weight: 700; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: clamp(18px, 2vw, 21px); max-width: 560px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.caption { position: absolute; right: 18px; bottom: 14px; font-size: 12px; color: var(--muted); letter-spacing: .08em; }

/* prodotti */
section { padding: 90px 0; }
.products { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; margin-top: 34px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; text-decoration: none; transition: transform .25s, border-color .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); border-color: rgba(235, 189, 118, .55); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.card .shot { aspect-ratio: 16 / 9; overflow: hidden; background: #0d1215; }
.card .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .shot img { transform: scale(1.04); }
.card .body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card h3 { font-size: 34px; line-height: 1; margin: 6px 0 10px; text-transform: uppercase; font-weight: 700; color: #fff; }
.card p { margin: 0 0 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 3px 9px; border-radius: 3px; }
.tag.gold { color: var(--gold); border-color: rgba(235, 189, 118, .45); }
.go { margin-top: auto; padding-top: 14px; font-family: var(--font); text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: var(--gold);
  display: inline-flex; align-items: center; gap: 8px; }
.card.ai .shot { display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #20323a, #0d1215 70%); }
.card.ai .shot svg { width: 46%; height: auto; opacity: .95; }
.soon { border-style: dashed; justify-content: center; align-items: center; text-align: center; padding: 34px; color: var(--muted); }

/* chi siamo */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.points { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.points li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.points svg { width: 44px; height: 44px; padding: 10px; border: 1px solid rgba(235, 189, 118, .4); border-radius: 50%; color: var(--gold); }
.points strong { display: block; font-family: var(--font); text-transform: uppercase; letter-spacing: .08em; font-size: 20px; color: #fff; }
.points span { color: var(--soft); font-size: 16px; }

footer { border-top: 1px solid var(--line); padding: 30px 0 40px; font-size: 15px; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
footer a { color: var(--muted); text-decoration: none; margin-right: 16px; }
footer a:hover { color: var(--gold); }

@media (max-width: 860px) {
  .links { display: none; }
  .grid, .about { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { min-height: auto; padding: 120px 0 70px; }
  .hero-bg::after { background: linear-gradient(0deg, var(--bg) 5%, rgba(11, 15, 18, .7) 60%, rgba(11, 15, 18, .45)); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------------------------------------------------------------- blog dello studio */
.nav.page { position: static; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.links a[aria-current] { color: var(--gold); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.post-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  text-decoration: none; transition: transform .25s, border-color .25s; }
.post-card:hover { transform: translateY(-3px); border-color: rgba(235, 189, 118, .55); }
.post-card img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.post-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card time, .post-meta { font-family: var(--font); text-transform: uppercase; letter-spacing: .16em; font-size: 13px; color: var(--muted); }
.post-card h3 { font-family: var(--font); font-size: 24px; line-height: 1.1; margin: 0; text-transform: uppercase; color: #fff; }
.post-card p { font-size: 16px; margin: 0; }
.post-card .go { font-size: 14px; }
.blog-head { padding: 70px 0 10px; }
.blog-head h1, .article h1 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1; margin: 0 0 16px; text-transform: uppercase; font-weight: 700; }
.blog-list { padding: 30px 0 90px; }
.blog-list .posts { margin-top: 0; }
.article { width: min(760px, 100% - 40px); margin: 0 auto; padding: 60px 0 40px; }
.article .lead { font-size: 21px; color: var(--text); }
.article .cover { margin: 28px 0 8px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.article figcaption, .article .caption-line { font-size: 14px; color: var(--muted); margin: 6px 0 26px; }
.prose h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 40px 0 14px; }
.prose h3 { font-family: var(--font); font-size: 22px; text-transform: uppercase; letter-spacing: .04em; margin: 28px 0 10px; color: #fff; }
.prose p, .prose li { color: var(--soft); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--gold); }
.prose strong { color: #fff; }
.prose figure { margin: 30px 0; }
.prose figure img { border-radius: 6px; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--soft); }
.prose th { font-family: var(--font); text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: var(--gold); }
.table-wrap { overflow-x: auto; }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); }
.prose blockquote p { color: var(--text); font-style: italic; }
.post-cta { margin: 40px 0 10px; padding: 26px 28px; background: var(--panel); border: 1px solid rgba(235, 189, 118, .35); border-radius: 6px; }
.post-cta p { margin: 0 0 16px; }
.more-posts { border-top: 1px solid var(--line); padding: 50px 0 80px; }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } }
