/* =========================================================
   FONT
   ========================================================= */

/* EB Garamond e Geist vengono caricati via Google Fonts nel tag
   <link> dentro ogni HTML — non serve nessun @font-face qui. */

/* =========================================================
   RESET DI BASE
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body, h1, h2, h3, p, figure {
  margin: 0;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}



/* =========================================================
   VARIABILI
   ========================================================= */

:root {
  --black: #0d0d0d;
  --white: #ffffff;
  --gray-line: #e4e2dd;

  /* colori ricorrenti nei progetti — regola i valori esatti guardando Figma */
  --accent-orange: #e08a4f;
  --accent-yellow: #efc542;

  --font-serif: "EB Garamond", Georgia, serif;
  --font-sans: "Geist", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;

  --header-height: 65px;
  --side-padding: 40px;
}

@media (max-width: 720px) {
  :root {
    --side-padding: 20px;
  }
}

/* Nasconde il cursore nativo ovunque nelle pagine desktop */
@media (pointer: fine) {
  html,
  body,
  [class*="page-"],
  [class*="page-"] * {
    cursor: none !important;
  }
}

body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
}






/* =========================================================
   HEADER / NAV — usato in tutte le pagine
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 var(--side-padding);
  background: var(--white);
  border-bottom: 1px solid transparent; /* aggiungi var(--gray-line) se vuoi la linea sotto */
}

.logo {
  font-family: var(--font-serif);
  font-size: 26px;
  font-style: normal;
  font-weight: 300;
  line-height: 100%; /* 30px */
  text-decoration: none;
  color: var(--black);
  white-space: nowrap;
  text-transform: uppercase;
}
 
.logo:hover {
  text-decoration: underline;
  text-underline-offset: 1px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
}

.site-nav a {
  text-decoration: none;
  color: var(--black);
}

.site-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 1px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--black);
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

 .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 40px var(--side-padding);
    background: var(--white);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-size: 24px;
  }

 .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}





.site-footer {
  width: 100%;
  box-sizing: border-box;
  padding: 40px 40px 15px 40px; /* Spaziatura interna: sopra, lati, sotto */
  background-color:white;
  color: black;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px; /* Spazio verticale tra la parte superiore e inferiore */
  font-family: var(--font-serif);
}

/* --- Sezione Superiore --- */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-heading {
  display: flex;
  flex-direction: column;
  line-height: 0.75;
  letter-spacing: -0.02em;
}

.heading-line-1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
}

.heading-line-2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  font-style: italic; /* "TALK" appare in corsivo */
}

/* Colonna Link e Contatti */
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.footer-link {
  color: inherit;
  text-decoration: none;
  font-size: clamp(1rem, 2vw, 1.35rem);
  transition: opacity 0.2s ease;
}

.footer-link:hover {
  text-decoration: underline;
  text-underline-offset: 1px;
}


/* --- Sezione Inferiore --- */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.footer-bottom p {
  margin: 0;
  color: #9e9e9e;
}

.rights {
  text-transform: uppercase;
}



/* --- Adattamento Mobile / Schermi Piccoli --- */
@media (max-width: 640px) {
  .site-footer {
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    gap: 3rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    align-items: flex-start; /* Su mobile i link si allineano a sinistra */
  }

  .footer-link  {
    font-size: 20px;
   } 
 } 