/* ============================================================
   Digital Dreams — Studio (presentazione breve)
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0a;
  --fg: #f2f2f4;
  --fg-dim: rgba(242, 242, 244, 0.52);
  --line: rgba(242, 242, 244, 0.14);
}

html { height: 100%; scroll-behavior: smooth; }

body {
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* alone morbido in alto per dare profondità */
  background-image: radial-gradient(120% 60% at 50% -10%, rgba(60, 60, 70, 0.35), transparent 60%);
  background-repeat: no-repeat;
}

.studio {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(7rem, 16vh, 11rem) clamp(1.4rem, 5vw, 3rem) clamp(3rem, 8vh, 5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 12vh, 8rem);
}

/* ---------- Hero ---------- */

.eyebrow {
  font-size: clamp(0.66rem, 1.4vw, 0.82rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 1.4rem;
}

.s-headline {
  font-size: clamp(2.1rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

/* ---------- About ---------- */

.s-about .lead {
  max-width: 40ch;
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--fg);
}

/* ---------- What we do ---------- */

.s-label {
  font-size: clamp(0.66rem, 1.4vw, 0.8rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 1.6rem;
}

.s-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 2rem;
  max-width: 620px;
}
.s-list li {
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.s-links {
  margin-top: 2rem;
  font-size: clamp(0.9rem, 1.9vw, 1.05rem);
  color: var(--fg-dim);
}
.s-links a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.25s ease;
}
.s-links a:hover { border-bottom-color: var(--fg); }

/* ---------- CTA ---------- */

.s-cta {
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 8vh, 5rem);
}
.s-big {
  font-size: clamp(1.5rem, 4.6vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.s-email {
  display: inline-block;
  margin-top: 2rem;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: border-color 0.25s ease;
}
.s-email:hover { border-bottom-color: var(--fg); }

/* ---------- Footer ---------- */

.s-foot {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  align-items: flex-start;
}
.s-logo { width: min(60vw, 320px); height: auto; }
.s-fine { font-size: 0.72rem; letter-spacing: 0.04em; color: var(--fg-dim); }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 560px) {
  .s-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
