/* Presentation page /<lang>/. Mirrors design/chi-siamo.html. */

.home-section { padding-top: clamp(28px, 5vw, 48px); padding-bottom: 40px; }
.home-kicker {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.home-kicker--why { color: var(--c-kicker-why); }
.home-kicker--mission { color: var(--c-accent); }
.home-kicker--ideas { color: var(--c-olive); }
.home-h2 {
  margin: 0 0 clamp(24px, 4vw, 40px);
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 24ch;
}

/* Hero */
.hero { background: var(--c-hero); color: #FFFFFF; }
.hero__inner {
  padding-top: clamp(44px, 8vw, 72px);
  padding-bottom: clamp(40px, 7vw, 64px);
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.hero__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero__kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-sand); }
.hero h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 60px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.hero__lede { margin: 0; font-size: clamp(17px, 2vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, 0.85); max-width: 34ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.btn { display: inline-block; font-weight: 700; font-size: 16px; border-radius: 8px; padding: 13px 20px; }
.btn:hover { text-decoration: none; }
.btn--light { background: #FFFFFF; color: #1F2A30; }
.btn--ghost { color: #FFFFFF; font-weight: 600; border: 1px solid rgba(255, 255, 255, 0.45); }
.btn--ghost:hover { border-color: #FFFFFF; }
.btn--dark { background: #1F2A30; color: #FFFFFF; align-self: flex-start; }
.hero a:focus-visible, .manifesto a:focus-visible { outline-color: #FFFFFF; }
.manifesto a:focus-visible { outline-color: #1F2A30; }

.wip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border: 1px dashed rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}
.wip strong { color: #FFFFFF; font-size: 16px; }
.wip a { color: var(--brand-sand); font-weight: 700; }

.hero-flow { flex: 1 1 420px; min-width: 0; display: flex; align-items: center; gap: 18px; }
.hero-noise {
  position: relative;
  flex: 1 1 220px;
  height: 330px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.26);
}
.hero-noise span { position: absolute; }
.hero-noise .n-display { font-family: var(--font-display); letter-spacing: 0.02em; }
.hero-noise .n-italic { font-style: italic; }
.hero-noise .n-bold { font-weight: 700; }
.hero-noise .n-heavy { font-weight: 800; }
.n1 { left: 2%; top: 2%; transform: rotate(-7deg); font-size: 30px; }
.n2 { left: 54%; top: 4%; transform: rotate(5deg); font-size: 14px; }
.n3 { left: 8%; top: 15%; transform: rotate(3deg); font-size: 17px; }
.n4 { left: 66%; top: 16%; transform: rotate(-10deg); font-size: 34px; }
.n5 { left: 30%; top: 26%; transform: rotate(-4deg); font-size: 28px; }
.n6 { left: 0%; top: 37%; transform: rotate(6deg); font-size: 15px; }
.n7 { left: 50%; top: 40%; transform: rotate(-2deg); font-size: 16px; }
.n8 { left: 14%; top: 49%; transform: rotate(-6deg); font-size: 32px; }
.n9 { left: 58%; top: 52%; transform: rotate(8deg); font-size: 18px; }
.n10 { left: 4%; top: 63%; transform: rotate(2deg); font-size: 15px; }
.n11 { left: 62%; top: 66%; transform: rotate(-12deg); font-size: 24px; }
.n12 { left: 26%; top: 74%; transform: rotate(5deg); font-size: 16px; }
.n13 { left: 0%; top: 84%; transform: rotate(-5deg); font-size: 22px; }
.n14 { left: 48%; top: 85%; transform: rotate(3deg); font-size: 14px; }
.n15 { left: 76%; top: 90%; transform: rotate(-8deg); font-size: 13px; }
.n16 { left: 36%; top: 93%; transform: rotate(9deg); font-size: 13px; }
.hero-arrow { flex-shrink: 0; }
.story-card {
  flex: 1 1 220px;
  min-width: 0;
  background: var(--c-surface);
  color: var(--c-ink);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}
.story-card__kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.story-card__title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.story-card__meta { font-size: 13px; color: var(--c-muted); }

.bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--c-track); }
.bar__pos { background: var(--c-pos); }
.bar__neg { background: var(--c-neg); }
.w-8 { width: 8%; } .w-9 { width: 9%; } .w-18 { width: 18%; } .w-52 { width: 52%; } .w-62 { width: 62%; } .w-78 { width: 78%; }

.flag-strip { display: flex; height: 8px; }
.flag-strip span { flex: 1; }
.flag-strip span:nth-child(1) { background: var(--brand-sea); }
.flag-strip span:nth-child(2) { background: var(--brand-olive-light); }
.flag-strip span:nth-child(3) { background: var(--brand-sand); }
.flag-strip span:nth-child(4) { background: var(--c-bg); }

@media (max-width: 720px) {
  .hero-flow { flex-direction: column; align-items: stretch; }
  .hero-arrow { transform: rotate(90deg); align-self: center; }
  .hero-noise { height: 250px; flex-basis: auto; }
}

/* Today's edition */
.today {
  margin-top: clamp(36px, 6vw, 56px);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: clamp(22px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.today__head { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; }
.today__head h2 { margin: 0; font-family: var(--font-serif); font-size: clamp(30px, 4vw, 40px); font-weight: 600; line-height: 1.05; letter-spacing: -0.015em; }
.today__date { font-size: 14px; color: var(--c-muted); }
.today__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0 36px; }
.today__item { padding: 14px 0; border-top: 1px solid var(--c-line); }
.today__item a { display: flex; flex-direction: column; gap: 4px; }
.today__cat { font-size: 13px; font-weight: 700; color: var(--c-accent); letter-spacing: 0.02em; }
.today__title { font-family: var(--font-serif); font-size: 20px; line-height: 1.2; font-weight: 600; }
.today__more { color: var(--c-accent); font-weight: 700; align-self: flex-start; }

/* Why */
.why-grid { display: flex; flex-wrap: wrap; gap: 36px; }
.why-item { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.why-item__n { font-size: 48px; font-weight: 800; letter-spacing: -0.04em; color: var(--c-numeral); line-height: 1; }
.why-item h3 { margin: 0; font-size: 21px; line-height: 1.25; }
.why-item p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--c-muted); }
.strike { color: var(--c-muted); text-decoration-line: line-through; text-decoration-color: var(--c-neg); text-decoration-thickness: 0.09em; }
.correct { color: var(--c-neg); text-decoration: none; }

/* Mission */
.pillars { display: flex; flex-wrap: wrap; gap: 16px; }
.pillar { flex: 1 1 240px; min-width: 0; background: var(--c-surface); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; border-top: 6px solid var(--pillar); }
.pillar:nth-child(1) { --pillar: var(--brand-sea); }
.pillar:nth-child(2) { --pillar: var(--brand-olive-light); }
.pillar:nth-child(3) { --pillar: var(--brand-sand); }
.pillar:nth-child(4) { --pillar: var(--brand-deep); }
.pillar__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.pillar h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.pillar p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--c-text-2); }

/* How it works */
.how { background: var(--c-surface); border-radius: 16px; padding: clamp(22px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.how + .how { margin-top: 16px; }
.how__intro { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.how__intro h2 { margin: 0; font-size: clamp(26px, 3.6vw, 34px); line-height: 1.12; font-weight: 800; letter-spacing: -0.03em; }
.how__intro p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--c-text-2); }
.how__side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: step; }
.steps li { display: flex; gap: 14px; align-items: baseline; font-size: 16px; line-height: 1.5; color: var(--c-text-2); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); flex-shrink: 0; width: 28px; font-weight: 800; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.steps strong { color: var(--c-ink); }
.example { border: 1px solid var(--c-rule-soft); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.example__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 15px; }
.example__row span { color: var(--c-muted); }
.example--chips { flex-direction: row; flex-wrap: wrap; align-items: center; }
.example--chips strong { font-size: 15px; flex-grow: 1; }
.chip { font-size: 13px; background: var(--c-chip-bg); color: var(--c-chip-ink); border-radius: 999px; padding: 4px 10px; font-weight: 600; }

/* Principles */
.principles { display: flex; flex-wrap: wrap; gap: 28px 36px; }
.principle { flex: 1 1 260px; min-width: 0; display: flex; gap: 14px; }
.principle svg { flex-shrink: 0; color: var(--c-ink); }
.principle h3 { margin: 0 0 4px; font-size: 18px; }
.principle p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--c-muted); }

/* Manifesto band (sand in both themes) */
.manifesto { background: var(--brand-sand); color: var(--on-sand); }
.manifesto__inner { padding-top: clamp(48px, 8vw, 72px); padding-bottom: clamp(48px, 8vw, 72px); display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; }
.manifesto__quote { flex: 1 1 300px; min-width: 0; margin: 0; font-size: clamp(29px, 4.6vw, 44px); line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; }
.manifesto__side { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; }
.manifesto__side p { margin: 0; font-size: 16px; line-height: 1.55; }
.home .site-footer { margin-top: 0; }
