@font-face {
  font-family: "Cocogoose Bold";
  src: url("Cocogoose-Pro-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cocogoose Light";
  src: url("Cocogoose-Pro-Comp-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #ffe1e8;
  --ink: #e03001;
  --line: rgba(224, 48, 1, 0.2);
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: "Cocogoose Light", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
}
p {
  font-weight: 300;
}
h1,
h2,
h3,
.hero-title,
.section-title,
.row-title,
.brand-name,
.cta-mail {
  font-family: "Cocogoose Bold", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
}
.mono {
  font-family: "Cocogoose Light", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
section {
  scroll-margin-top: 90px;
}
/* Nav */
.site-nav {
  background-color: var(--bg);
  border-bottom: 2px solid var(--ink);
}
.site-nav .navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition: padding 0.3s ease;
}
.site-nav.scrolled .navbar {
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
}
.site-nav .brand-name {
  line-height: 1;
  font-size: 1.1rem;
}
.brand-logo {
  height: 40px;
  max-height: 40px;
  width: auto;
  transition: height 0.3s ease, max-height 0.3s ease;
}
.site-nav.scrolled .brand-logo {
  height: 28px;
  max-height: 28px;
}
.nav-meta {
  font-size: 1rem;
}
.nav-link-custom {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.nav-link-custom:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
/* Hero */
.hero-title {
  font-size: clamp(4.5rem, 18vw, 17rem);
  line-height: 0.8;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero-rule,
.section-rule {
  height: 2px;
  background: var(--line);
}
.scroll-hint {
  font-size: 0.78rem;
}
/* Section titles */
.section-title {
  letter-spacing: -0.01em;
}
/* Rows (Come lavoriamo / Servizi) */
.row-line {
  border-top: 2px solid var(--line);
  padding: 1.5rem 0;
}
.row-line:last-child {
  border-bottom: 2px solid var(--line);
}
.row-number {
  font-size: 0.8rem;
}
.row-title {
  font-size: clamp(1.6rem, 4vw, 3rem);
  letter-spacing: -0.01em;
  margin: 0;
}
.row-meta {
  font-size: 0.75rem;
}
/* Quote */
.quote-text {
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
/* Footer CTA */
.cta-mail {
  font-size: clamp(1.4rem, 5vw, 3.5rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--ink);
}
.cta-mail:hover {
  color: var(--ink);
  opacity: 0.85;
}
/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
