/* ================================================
   HOME — HERO
   ================================================ */

.home-hero {
  padding-top: 120px;
  padding-bottom: 72px;
}

.home-name {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
  margin-top: 12px;
  margin-bottom: 16px;
}

.home-dot {
  color: var(--gold);
}

.home-role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
  font-family: var(--font-mono);
  margin-bottom: 24px;
}

.home-bio {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.85;
  max-width: 520px;
  margin: 0;
}

/* ================================================
   HOME — SECTION HEADER
   ================================================ */

.home-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.home-section-header .section-title {
  margin-bottom: 0;
}

.home-section-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dim);
  font-family: var(--font-mono);
  text-decoration: none;
  padding-bottom: 2px;
  transition: color 0.2s;
  white-space: nowrap;
}

.home-section-link:hover {
  color: var(--gold);
}

/* ================================================
   HOME — LAVORI CARD VERTICALI
   ================================================ */

.home-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.home-work-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  text-decoration: none;
  min-height: 180px;
  transition: background 0.2s, border-color 0.2s;
}

.home-work-card:hover {
  background: var(--bg3);
  border-color: var(--gold-dim);
}

.home-work-card-inner {
  width: 100%;
}

.home-work-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.home-work-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.home-work-year {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text3);
}

.home-work-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 10px;
}

.home-work-desc {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.7;
  margin: 0;
}

.home-work-arrow {
  font-size: 16px;
  color: var(--text3);
  margin-top: 16px;
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}

.home-work-card:hover .home-work-arrow {
  color: var(--gold);
  transform: translateX(3px);
}

/* ================================================
   HOME — IARI LIST
   ================================================ */

.home-iari-list {
  display: flex;
  flex-direction: column;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--border2);
  gap: 1px;
}

.home-iari-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--bg2);
  padding: 18px 24px;
  text-decoration: none;
  transition: background 0.2s;
}

.home-iari-item:hover {
  background: var(--bg3);
}

.home-iari-item--placeholder {
  opacity: 0.45;
  pointer-events: none;
}

.home-iari-item-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

.home-iari-topic {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.home-iari-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-iari-item-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.home-iari-date {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text3);
  white-space: nowrap;
}

.home-iari-arrow {
  font-size: 14px;
  color: var(--text3);
  transition: color 0.2s;
}

.home-iari-item:hover .home-iari-arrow {
  color: var(--gold);
}

/* ================================================
   HOME — CONTATTI
   ================================================ */

.home-contact-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border2);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  max-width: 480px;
}

.home-contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg2);
  padding: 14px 20px;
  text-decoration: none;
  transition: background 0.2s;
}

.home-contact-item:hover {
  background: var(--bg3);
}

.home-contact-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
}

.home-contact-val {
  font-size: 12px;
  color: var(--gold-dim);
  font-family: var(--font-mono);
  transition: color 0.2s;
}

.home-contact-item:hover .home-contact-val {
  color: var(--gold);
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 700px) {
  .home-hero {
    padding-top: 88px;
  }

  .home-iari-title {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .home-iari-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .home-iari-item-right {
    width: 100%;
    justify-content: space-between;
  }
}
