.editorial-page {
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.16), transparent 26%),
    radial-gradient(circle at left 18%, rgba(245, 158, 11, 0.1), transparent 24%),
    linear-gradient(180deg, #090311 0%, #05020b 100%);
}

.editorial-hero {
  position: relative;
  overflow: hidden;
  padding: 108px 0 52px;
}

.editorial-hero__bg,
.editorial-hero__veil {
  position: absolute;
  inset: 0;
}

.editorial-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.24) saturate(0.72);
  transform: scale(1.04);
}

.editorial-hero__veil {
  background:
    linear-gradient(90deg, rgba(6, 3, 12, 0.9) 0%, rgba(6, 3, 12, 0.76) 52%, rgba(6, 3, 12, 0.58) 100%),
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.2), transparent 32%);
}

.editorial-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: end;
}

.editorial-hero__copy {
  display: grid;
  gap: 18px;
  max-width: 44rem;
}

.editorial-hero__copy h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.editorial-hero__lead {
  margin: 0;
  color: rgba(245, 243, 255, 0.82);
  font-size: 1.06rem;
  line-height: 1.8;
}

.editorial-hero__note {
  margin: 0;
  color: rgba(255, 224, 161, 0.86);
  font-size: 0.92rem;
  line-height: 1.6;
}

.editorial-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.editorial-proof-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.16);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(245, 158, 11, 0.14));
  color: rgba(245, 243, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.editorial-hero__panel,
.editorial-section-card,
.editorial-stat-card,
.editorial-screen-card,
.editorial-feature-card,
.editorial-story-card,
.editorial-value-card,
.editorial-sector-card,
.editorial-contact-card,
.editorial-step,
.editorial-action-band {
  border: 1px solid rgba(245, 158, 11, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(18, 8, 31, 0.94) 0%, rgba(8, 2, 16, 0.95) 100%);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.34);
}

.editorial-hero__panel {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.editorial-hero__panel img {
  display: block;
  width: 100%;
  height: clamp(220px, 28vw, 320px);
  object-fit: cover;
  border-radius: 22px;
}

.editorial-hero__panel figcaption {
  color: rgba(245, 243, 255, 0.76);
  font-size: 0.95rem;
  line-height: 1.6;
}

.editorial-section {
  padding: 54px 0;
}

.editorial-section__head {
  display: grid;
  gap: 12px;
  max-width: 48rem;
  margin-bottom: 24px;
}

.editorial-section__head h2 {
  margin: 0;
}

.editorial-section__head p {
  margin: 0;
}

.editorial-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.editorial-stat-card {
  padding: 24px;
}

.editorial-stat-card strong {
  display: block;
  margin-bottom: 8px;
  color: #f5f3ff;
  font-size: 1.08rem;
}

.editorial-stat-card p {
  margin: 0;
  color: rgba(245, 243, 255, 0.72);
  font-size: 0.94rem;
  line-height: 1.7;
}

.editorial-screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.editorial-screen-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.editorial-screen-card img {
  display: block;
  width: 100%;
  height: clamp(180px, 24vw, 260px);
  object-fit: cover;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.editorial-screen-card strong {
  color: #f5f3ff;
  font-size: 1rem;
}

.editorial-screen-card p {
  margin: 0;
  color: rgba(245, 243, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.65;
}

.editorial-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.editorial-feature-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: grid;
  align-content: end;
  padding: 26px;
}

.editorial-feature-card::before,
.editorial-story-card::before,
.editorial-contact-card--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.editorial-feature-card::after,
.editorial-story-card::after,
.editorial-contact-card--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 2, 12, 0.18) 0%, rgba(6, 2, 12, 0.74) 54%, rgba(6, 2, 12, 0.94) 100%),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), transparent 28%);
}

.editorial-feature-card > *,
.editorial-story-card > *,
.editorial-contact-card--photo > * {
  position: relative;
  z-index: 1;
}

.editorial-feature-card--planner::before {
  background-image: url("/site-assets/team-laptop.jpg");
}

.editorial-feature-card--gps::before {
  background-image: url("/site-assets/office-modern.jpg");
}

.editorial-feature-card--docs::before {
  background-image: url("/site-assets/team-happy-large.jpg");
}

.editorial-feature-card--absences::before {
  background-image: url("/site-assets/person-giulia.jpg");
}

.editorial-feature-card--expenses::before {
  background-image: url("/site-assets/manager-outdoor.jpg");
}

.editorial-feature-card--medical::before {
  background-image: url("/site-assets/person-roberto.jpg");
}

.editorial-kicker {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.16);
  background: rgba(10, 3, 19, 0.6);
  color: #ffd799;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editorial-feature-card h3,
.editorial-story-copy h2,
.editorial-story-note h3,
.editorial-value-card h3,
.editorial-sector-card h3,
.editorial-contact-card h3,
.editorial-action-band h2 {
  margin: 0;
  color: #f5f3ff;
}

.editorial-feature-card p,
.editorial-story-copy p,
.editorial-story-note p,
.editorial-value-card p,
.editorial-sector-card p,
.editorial-contact-card p,
.editorial-action-band p,
.editorial-step p {
  margin: 0;
  color: rgba(245, 243, 255, 0.76);
  line-height: 1.72;
}

.editorial-feature-card ul,
.editorial-story-copy ul,
.editorial-contact-card ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(245, 243, 255, 0.78);
  display: grid;
  gap: 8px;
}

.editorial-feature-card li,
.editorial-story-copy li,
.editorial-contact-card li {
  line-height: 1.6;
}

.editorial-feature-card .editorial-kicker + h3,
.editorial-story-copy .editorial-kicker + h2 {
  margin-top: 12px;
}

.editorial-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
}

.editorial-story-card {
  min-height: 420px;
  padding: 28px;
  display: grid;
  align-content: end;
}

.editorial-story-card--team::before {
  background-image: url("/site-assets/team-happy.jpg");
}

.editorial-story-card--field::before {
  background-image: url("/site-assets/mosaic-1-large.jpg");
}

.editorial-story-copy {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.editorial-story-note {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 158, 11, 0.12);
}

.editorial-values,
.editorial-sector-grid,
.editorial-contact-grid,
.editorial-step-grid {
  display: grid;
  gap: 18px;
}

.editorial-values {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.editorial-value-card,
.editorial-sector-card,
.editorial-contact-card,
.editorial-step {
  padding: 24px;
}

.editorial-value-card strong,
.editorial-sector-card strong,
.editorial-contact-card strong,
.editorial-step strong {
  color: #f5f3ff;
}

.editorial-value-icon,
.editorial-sector-icon,
.editorial-contact-icon,
.editorial-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 16px;
  border: 1px solid rgba(245, 158, 11, 0.14);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(245, 158, 11, 0.14));
  color: #f5f3ff;
  font-size: 1.35rem;
  font-weight: 800;
}

.editorial-sector-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editorial-contact-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
}

.editorial-contact-stack {
  display: grid;
  gap: 18px;
}

.editorial-contact-card--photo {
  min-height: 100%;
  display: grid;
  align-content: end;
  padding: 28px;
}

.editorial-contact-card--photo::before {
  background-image: url("/site-assets/chaos-meeting.jpg");
}

.editorial-contact-actions {
  display: grid;
  gap: 12px;
}

.editorial-contact-link {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(245, 158, 11, 0.14);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.editorial-contact-link:hover,
.editorial-contact-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(245, 158, 11, 0.24);
  background: rgba(168, 85, 247, 0.1);
}

.editorial-contact-link strong {
  color: #f5f3ff;
}

.editorial-contact-link span,
.editorial-contact-link small {
  color: rgba(245, 243, 255, 0.72);
}

.editorial-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editorial-action-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 24px;
  align-items: center;
  padding: 28px 30px;
}

.editorial-action-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1100px) {
  .editorial-hero__inner,
  .editorial-story,
  .editorial-contact-grid,
  .editorial-action-band {
    grid-template-columns: 1fr;
  }

  .editorial-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-sector-grid,
  .editorial-step-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .editorial-hero {
    padding: 96px 0 36px;
  }

  .editorial-screen-grid,
  .editorial-feature-grid,
  .editorial-stats {
    grid-template-columns: 1fr;
  }

  .editorial-feature-card {
    min-height: 360px;
  }

  .editorial-story-card {
    min-height: 340px;
  }

  .editorial-values {
    grid-template-columns: 1fr;
  }
}
