:root {
  --nebbia: #edf1ee;
  --gesso: #fbfcfb;
  --roccia: #15211c;
  --granito: #56635c;
  --pino: #1e5b48;
  --muschio: #a9bfb2;
  --linea: rgba(21, 33, 28, 0.14);
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--nebbia);
  color: var(--roccia);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--pino); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--roccia); color: var(--gesso);
  padding: 0.6rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }

/* HEADER */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(237, 241, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linea);
}

.header-inner {
  min-height: 4.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; }
.brand-name { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-role { color: var(--granito); font-size: 0.9rem; }

.nav { display: flex; align-items: center; gap: 1.75rem; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--granito); }
.nav a:hover { color: var(--roccia); }
.nav .nav-cta {
  color: var(--gesso); background: var(--pino);
  padding: 0.6rem 1rem; border-radius: 999px; font-weight: 600;
}
.nav .nav-cta:hover { color: var(--gesso); background: #174a3a; }

.menu-toggle { display: none; width: 2.75rem; height: 2.75rem; border: 0; background: none; cursor: pointer; }
.menu-toggle span { display: block; width: 1.3rem; height: 2px; margin: 0.35rem auto; background: var(--roccia); transition: transform 0.25s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* BUTTONS */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.75rem 1.4rem;
  border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 1rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-solid { background: var(--pino); color: var(--gesso); }
.btn-solid:hover { background: #174a3a; }
.btn-quiet { border: 1.5px solid var(--roccia); color: var(--roccia); }
.btn-quiet:hover { background: var(--roccia); color: var(--gesso); }

/* HERO */

.hero { padding: 5.5rem 0 4.5rem; }

.hero-kicker { color: var(--granito); font-size: 1rem; margin-bottom: 1.25rem; }

.hero h1 {
  font-size: clamp(2.6rem, 7.4vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
  max-width: 13ch;
}

.hero-bottom {
  display: grid; grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 2.5rem; align-items: end; margin-top: 2.5rem;
}

.lead { max-width: 58ch; font-size: 1.15rem; color: var(--granito); }

.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* PATH — the one memorable element */

.path { margin: 4.5rem 0 0; }

.path-steps {
  position: relative;
  list-style: none; margin: 0; padding: 2.25rem 0 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem;
}

.path-steps::before {
  content: ""; position: absolute; top: 0.55rem; left: 0; height: 3px;
  width: 100%; background: var(--pino);
  transform-origin: left center;
  animation: draw 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both;
}

.path-steps li { position: relative; font-weight: 600; font-size: 1rem; line-height: 1.3; }

.path-steps li::before {
  content: ""; position: absolute; top: -2.2rem; left: 0;
  width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--nebbia); border: 3px solid var(--pino);
}

.path-steps .path-goal { color: var(--pino); font-size: 1.15rem; }
.path-steps .path-goal::before { background: var(--pino); width: 1.4rem; height: 1.4rem; top: -2.35rem; }

.path figcaption { margin-top: 1.75rem; color: var(--granito); font-size: 0.95rem; max-width: 60ch; }

@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* SECTIONS */

.section { padding: 5.5rem 0; border-top: 1px solid var(--linea); }
.section-tint { background: var(--gesso); }

.section h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.05; }

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3.5rem 4rem; align-items: start; }
.split-head p { margin-top: 1.1rem; color: var(--granito); max-width: 44ch; }

/* METHOD */

.method { list-style: none; margin: 0; padding: 0; }
.method li { padding: 1.4rem 0 1.4rem 1.25rem; border-left: 3px solid var(--muschio); }
.method li + li { margin-top: 0.5rem; }
.method h3 { font-size: 1.25rem; }
.method p { margin-top: 0.4rem; color: var(--granito); max-width: 52ch; }
.method-note { grid-column: 2; color: var(--granito); font-size: 0.95rem; }

/* AUDIENCE */

.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2.5rem; }
.audience-item h3 { font-size: 1.4rem; padding-bottom: 0.85rem; border-bottom: 3px solid var(--pino); }
.audience-item p { margin-top: 1rem; color: var(--granito); max-width: 48ch; }

/* STEPS — real sequence, so numbered */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: passo; }
.steps li {
  counter-increment: passo;
  display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--linea);
}
.steps li:first-child { padding-top: 0; }
.steps li::before {
  content: counter(passo);
  grid-row: span 2;
  font-size: 2rem; font-weight: 800; line-height: 1; color: var(--pino);
}
.steps h3 { font-size: 1.2rem; }
.steps p { margin-top: 0.35rem; color: var(--granito); max-width: 52ch; }

/* TESTIMONIALS — placeholders */

.quote-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.quote-slot {
  min-height: 9rem; display: grid; place-items: center; text-align: center;
  padding: 1.5rem; border: 1.5px dashed var(--muschio); border-radius: 6px;
  color: var(--granito); font-size: 0.95rem;
}

/* STUDIO */

.info { margin: 1.75rem 0 0; }
.info div { padding: 1rem 0; border-top: 1px solid var(--linea); }
.info dt { color: var(--granito); font-size: 0.9rem; }
.info dd { margin: 0.2rem 0 0; font-weight: 600; font-size: 1.1rem; }

.studio-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.photo-slot {
  min-height: 14rem; display: grid; place-items: center;
  background: var(--gesso); border: 1.5px dashed var(--muschio); border-radius: 6px;
  color: var(--granito); font-size: 0.95rem;
}
.photo-slot-tall { grid-row: span 2; min-height: 29rem; }

/* FOOTER */

.site-footer { border-top: 1px solid var(--linea); padding: 2.5rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; }
.footer-name { font-weight: 600; }
.footer-small { color: var(--granito); font-size: 0.95rem; }

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-bottom, .split, .audience { grid-template-columns: 1fr; }
  .method-note { grid-column: auto; }
  .quote-slots { grid-template-columns: 1fr; }

  .path-steps { grid-template-columns: 1fr; gap: 1.1rem; padding: 0 0 0 2.5rem; }
  .path-steps::before { top: 0; left: 0.55rem; width: 3px; height: 100%; transform-origin: top center; animation-name: draw-down; }
  .path-steps li::before { top: 0.1rem; left: -2.5rem; }
  .path-steps .path-goal::before { top: 0; left: -2.65rem; }
}

@keyframes draw-down { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@media (max-width: 780px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 4.5rem 0 auto 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.75rem 1.25rem 1.25rem; background: var(--gesso);
    border-bottom: 1px solid var(--linea);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.9rem 0; border-bottom: 1px solid var(--linea); color: var(--roccia); }
  .nav .nav-cta { margin-top: 0.9rem; text-align: center; border-bottom: 0; }

  .hero { padding: 3.5rem 0 3rem; }
  .section { padding: 4rem 0; }
  .hero-actions .btn, .studio-actions .btn { flex: 1 1 100%; }
  .photos { grid-template-columns: 1fr; }
  .photo-slot-tall { grid-row: auto; min-height: 16rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .path-steps::before { animation: none; }
}
