:root {
  --white-warm: #FAF8F5;
  --beige-light: #EDE6DA;
  --beige-dark: #DCD1BE;
  --brown-text: #4A4038;
  --brown-light: #8A7A68;

  --font-display: "Fraunces", serif;
  --font-body: "Work Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white-warm);
  color: var(--brown-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 18px;
}

.spiral {
  stroke: var(--brown-text);
}

.spiral--muted {
  opacity: 0.55;
}

/* Motion */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

.spiral-rotate {
  animation: spinSlow 50s linear infinite;
  transform-origin: 50% 50%;
}

.hero-in {
  opacity: 0;
  animation: fadeUp 0.9s ease forwards;
}

.hero-in-1 { animation-delay: 0.1s; }
.hero-in-2 { animation-delay: 0.25s; }
.hero-in-3 { animation-delay: 0.45s; }
.hero-in-4 { animation-delay: 0.65s; }
.hero-in-5 {
  animation-delay: 0.85s;
  animation-name: fadeUp, spinSlow;
  animation-duration: 0.9s, 50s;
  animation-timing-function: ease, linear;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .hero-in,
  .reveal {
    opacity: 1;
    transform: none;
  }

  .spiral-rotate,
  .hero-in,
  .reveal {
    animation: none !important;
    transition: none !important;
  }
}

/* Nav */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220, 209, 190, 0.6);
  transition: box-shadow 0.4s ease;
}

.site-nav.is-scrolled {
  box-shadow: 0 10px 30px rgba(74, 40, 30, 0.05);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 22px;
  height: 26px;
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown-light);
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--brown-text);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--brown-text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--brown-text);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hero */

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 32px 100px;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(4.5rem, 12vw, 8.5rem);
  line-height: 1;
  margin: 0 0 32px;
  letter-spacing: -0.01em;
}

.hero-claim {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--brown-light);
  max-width: 480px;
  margin: 0 0 48px;
}

.btn-outline {
  display: inline-block;
  padding: 16px 40px;
  border: 1px solid var(--brown-text);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-outline:hover {
  background: var(--brown-text);
  color: var(--white-warm);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(74, 64, 56, 0.14);
}

.hero-spiral {
  margin-top: 64px;
  width: 34px;
  height: 40px;
}

/* Section basics */

section {
  padding: 140px 0;
}

.section-alt {
  background: var(--beige-light);
}

.section-center {
  text-align: center;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 28px;
  line-height: 1.3;
}

.section-text {
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--brown-text);
}

/* Concept */

.concept {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Servizi */

.servizi-block {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.servizi-index {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--brown-light);
  margin-bottom: 20px;
}

.servizi-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin: 0 0 24px;
}

.servizi-text {
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.servizi-features {
  display: flex;
  justify-content: center;
  gap: 36px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.servizi-features li {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  color: var(--brown-light);
  position: relative;
}

.servizi-features li::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: var(--beige-dark);
  margin-top: 14px;
}

/* Studio / Location */

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.studio-copy .eyebrow {
  margin-bottom: 18px;
}

.studio-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 24px;
  line-height: 1.25;
}

.studio-text {
  font-size: 1.02rem;
  margin-bottom: 32px;
}

.studio-address {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--brown-light);
  border-top: 1px solid var(--beige-dark);
  padding-top: 24px;
}

.studio-address strong {
  display: block;
  color: var(--brown-text);
  font-weight: 400;
  margin-bottom: 6px;
}

.studio-address a {
  border-bottom: 1px solid var(--brown-light);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.studio-phone {
  display: block;
  width: fit-content;
  margin-top: 10px;
}

.studio-address a:hover {
  color: var(--brown-text);
  border-color: var(--brown-text);
}

.studio-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(155deg, var(--beige-light), var(--beige-dark));
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.studio-visual .spiral-big {
  width: 55%;
  height: auto;
  opacity: 0.35;
}

.studio-visual-caption {
  position: absolute;
  bottom: 28px;
  left: 28px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-text);
}

/* Footer */

.site-footer {
  padding: 100px 0 48px;
  background: var(--beige-light);
  border-top: 1px solid var(--beige-dark);
  text-align: center;
}

.footer-mark {
  width: 30px;
  height: 34px;
  margin: 0 auto 20px;
}

.footer-word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  color: var(--brown-light);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0 0 56px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-text);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.footer-links a:hover {
  border-color: var(--brown-light);
}

.footer-fine {
  font-size: 0.75rem;
  color: var(--brown-light);
  letter-spacing: 0.02em;
}

/* Responsive */

@media (max-width: 860px) {
  .studio-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .studio-visual {
    order: -1;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 720px) {
  section {
    padding: 96px 0;
  }

  .hero {
    padding: 120px 24px 80px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid var(--beige-dark);
  }

  .nav-links.is-open {
    max-height: 260px;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 18px 0;
  }

  .servizi-features {
    flex-direction: column;
    gap: 22px;
  }

  .servizi-features li::after {
    max-width: 140px;
    margin: 14px auto 0;
  }
}
