

@font-face {
  font-family: 'SignalGroteskVF';
  src: url('SignalGroteskVF.woff2') format('woff2'),
       url('SignalGroteskVF.ttf') format('truetype');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SimonciniGaramondStd';
  src: url('SimonciniGaramondStd.otf') format('opentype'),
  font-style: normal;
}

/* ─── Variabili ─── */
:root {
  --red:    #b32821;
  --white:  #f8f4ed;
  --black:  #191815;
  --muted:  #7a7671;
  --font-sg: 'SignalGroteskVF', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-ui: 'SimonciniGaramondStd';
}

/* ─── Reset ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

strong {
  font-weight: 700;
}

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
  z-index: 10;
  background-color: #f8f4ed33;
  border-bottom: 1px solid var(--red);    
  backdrop-filter: blur(8px); 
  -webkit-backdrop-filter: blur(8px);   
}

.nav-left, 
.nav-center,
.nav-right {
  font-family: var(--font-ui);
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--black);
  flex: 1;    
}

.nav-left { justify-content: flex-start; }
.nav-center { justify-content: center; text-align: center; }
.nav-right { justify-content: flex-end; text-align: right; }

.nav-link {
  color: var(--black);
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-link:hover {
  opacity: 0.5;
  text-decoration: none;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  width: 100%;
  background-color: var(--white);
  color: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  cursor: none;
  padding: 10vw 5vw 8vw;
}

/* Cursiore a croce */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  background: var(--red);
  opacity: 1;    
  pointer-events: none;
  z-index: 1;
}
.hero::before {
  width: 1px;
  top: 0;
  bottom: 0;
  left: var(--mx, 50%);
}
.hero::after {
  height: 1px;
  left: 0;
  right: 0;
  top: var(--my, 50%);
}

.hero-title {
  font-family: var(--font-sg);
  font-size: clamp(2rem, 12vw, 14vw);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
  color: var(--black);
  white-space: nowrap;
  max-width: 95vw;
  overflow: hidden;    
  font-variation-settings: 'wght' 400, 'XHGT' 450;
  user-select: none;
  position: relative;
  z-index: 2;
  margin: 5vw auto 5vw;
}

.hero-axes {
  display: flex;
  gap: 4rem;
  z-index: 2;
  position: relative;
}

.axis-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.axis-label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--muted);
  text-transform: lowercase;
}

.axis-value {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  color: var(--black);
  min-width: 3ch;
  text-align: center;
}

.hero-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  z-index: 2;
}

/* ─── Descrizione ─── */
.section-text {
  padding: 5vw 15vw;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.section-text p {
  font-family: var(--font-ui);
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--white);
  text-align: justify;
}

/* ─── Divider ─── */
.divider-wrap {
  padding: 0 15vw;
}

.divider {
  height: 1px;
  background-color: var(--muted);
  opacity: 0.4;
}

/* ─── Character set ─── */
.character-section {
  padding: 5vw 15vw;
}

.character-set {
  font-family: var(--font-sg);
  font-size: clamp(1.5rem, 4.4vw, 5rem);
  font-variation-settings: 'wght' 400, 'XHGT' 450;
  color: var(--white);
  text-align: justify;
  line-height: 1.5;
}


/* ─── Specimen rows ─── */
.specimen-section {
  padding: 0 15vw;
}
 
.spec-row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5vw 0 1vw;
}
 
.spec-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
 
.spec-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.2em;
}
 
.spec-size,
.spec-weight {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--muted);
}
 
.spec-text {
  font-family: var(--font-sg);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

/* ─── Sample text ─── */
.sample-section {
  padding: 5vw 15vw;
}

.sample-label {
  font-family: var(--font-sg);
  font-size: clamp(1.5rem, 4.4vw, 5rem);
  font-variation-settings: 'wght' 400, 'XHGT' 450;
  color: var(--white);
  margin-bottom: 2vw;
}

.sample-text {
  font-family: var(--font-sg);
  font-size: clamp(14px, 1.5vw, 50px);
  font-variation-settings: 'wght' 400, 'XHGT' 450;
  color: var(--white);
  text-align: justify;
  line-height: 1.65;
  outline: none;
  cursor: text;
}

.sample-text:focus {
  outline: none;
}

/* ─── Feature ─── */
.feature-section {
  padding: 5vw 15vw;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.feature-section p {
  font-family: var(--font-ui);
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--white);
  text-align: justify;
}

/* ─── Download ─── */
.download-section {
  padding: 5vw 15vw;
}

.download-label {
  font-family: var(--font-sg);
  font-size: clamp(1.5rem, 4.4vw, 5rem);
  font-variation-settings: 'wght' 400, 'XHGT' 450;
  color: var(--white);
  margin-bottom: 2vw;
}

.download-desc {
  font-family: var(--font-ui);
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--white);
  margin-bottom: 2vw;
  max-width: 100ch;
}

.license-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 3vw;
}

.license-list span {
  font-family: var(--font-ui);
  font-size: clamp(13px, 1.4vw, 18px);
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--white);
}

.download-btn {
  display: inline-block;
  background-color: var(--black);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 4px;
  padding: 15px 35px;
  border: 2px solid var(--white);
  transition: background-color 0.1s ease, box-shadow 0.08s ease, color 0.1s ease;
}

.download-btn:hover {
  background-color: var(--red);
  color: var(--white);
  border-color: var(--white);
  text-decoration: none;
}

/* ─── Footer ─── */
.footer {
  background-color: var(--white);
  padding: 3vw 15vw;
  margin-top: 5vw;
}

.footer p {
  font-family: var(--font-ui);
  font-size: clamp(11px, 1vw, 16px);
  font-weight: 400;
  line-height: 1.8;
  color: var(--black);
}

.footer a {
  color: var(--red);
}

/* ─── Media schermi piccoli ─── */
@media (max-width: 768px) {
  .hero { cursor: auto; }
  .hero::before, .hero::after { display: none; }
  .hero-title { font-size: 12vw; }

  .section-text,
  .character-section,
  .weights-section,
  .sample-section,
  .feature-section,
  .download-section,
  .divider-wrap,
  .footer { padding-left: 6vw; padding-right: 6vw; }

  .weight-item { flex-direction: column; gap: 4px; }
  .weight-tag { margin-left: 0; }
}

@media (max-width: 480px) {
  .nav-left, .nav-right { font-size: 11px; letter-spacing: 2px; }
  .hero-axes { gap: 2rem; }
}

.nav-logo-img {
  height: 21px; 
  width: auto;
  display: block;
  filter: brightness(0);
}