/* POLYTECH 40 — v05 image integration */
.hero-topline--years > span:not(.topline-rule){font-size:1.38em;font-weight:600;letter-spacing:-.01em}
.chapter-body sup{font-size:.58em;line-height:0;vertical-align:super}
.microthane-brand{display:inline-flex;align-items:center;gap:.20em;white-space:nowrap;vertical-align:middle}
.microthane-brand sup{font-size:.58em;line-height:0;vertical-align:super}
.microthane-brand .microthane-asterisk{margin-left:-.18em}
.microthane-brand .pro-logo{display:inline-block;width:2.15em;height:2.15em;object-fit:contain;flex:0 0 auto}
.stat-value .stat-prefix{display:inline-block;font-size:.22em;font-weight:500;line-height:1;text-transform:uppercase;letter-spacing:.06em;vertical-align:middle;white-space:nowrap}

/* Keep the approved chapter gradients; photographs sit underneath a directional colour veil. */
.chapter{position:relative;isolation:isolate;background-repeat:no-repeat;background-size:cover;background-position:center}
.chapter::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none}
.chapter>*{position:relative;z-index:1}

.chapter--blue{
 background-image:url('../assets/polytech40-trust.webp');
 background-position:center 46%;
}
.chapter--blue::before{
 background:linear-gradient(90deg,rgba(0,87,136,.98) 0%,rgba(0,87,136,.94) 43%,rgba(0,87,136,.78) 68%,rgba(0,87,136,.68) 100%);
}

.chapter--light{
 background-image:url('../assets/polytech40-safety.webp');
 background-position:center 48%;
}
.chapter--light::before{
 background:linear-gradient(90deg,rgba(244,242,238,.97) 0%,rgba(244,242,238,.92) 44%,rgba(244,242,238,.78) 70%,rgba(244,242,238,.68) 100%);
}

.chapter--sand{
 background-image:url('../assets/polytech40-innovation.webp');
 background-position:center 48%;
}
.chapter--sand::before{
 background:linear-gradient(90deg,rgba(192,157,127,.98) 0%,rgba(192,157,127,.94) 44%,rgba(192,157,127,.80) 70%,rgba(192,157,127,.70) 100%);
}

.chapter--deep{
 background-image:url('../assets/polytech40-future.webp');
 background-position:center 45%;
}
.chapter--deep::before{
 background:linear-gradient(90deg,rgba(5,46,70,.99) 0%,rgba(5,46,70,.95) 44%,rgba(5,46,70,.82) 70%,rgba(5,46,70,.73) 100%);
}

@media(max-width:900px){
 .chapter--blue,.chapter--light,.chapter--sand{background-position:center center}
 .chapter--deep{background-position:62% center;scroll-margin-top:118px}
 .chapter--blue::before{background:rgba(0,87,136,.90)}
 .chapter--light::before{background:rgba(244,242,238,.87)}
 .chapter--sand::before{background:rgba(192,157,127,.90)}
 .chapter--deep::before{background:rgba(5,46,70,.92)}
}
@media(max-width:700px){.microthane-brand .pro-logo{width:1.95em;height:1.95em}}

/* v05.2 — final mobile spacing refinement */
@media(max-width:900px){
  .chapter--deep{padding-top:clamp(88px,14vw,118px)}
}

/* =========================================================
   POLYTECH 40 — v05.3 references / footnote refinement
   ========================================================= */

/* Bibliographic references: secondary but readable */
.references{
  margin:1.05rem 0 1.35rem;
  padding-top:.78rem;
  border-top:1px solid rgba(0,87,136,.22);
  font-size:.68em;
  line-height:1.42;
  font-weight:400;
  letter-spacing:0;
}

.references p{
  margin:0 0 .42rem;
}

.references p:last-child{
  margin-bottom:0;
}

.references sup{
  font-size:.78em;
  font-weight:600;
  margin-right:.22em;
}

/* Future chapter references on dark background */
.chapter--deep .references{
  border-top-color:rgba(255,255,255,.22);
  color:rgba(255,255,255,.76);
}

/* Microthane patent note: visually distinct from editorial copy */
.microthane-note{
  margin-top:1.35rem !important;
  padding-top:.82rem;
  border-top:1px solid rgba(255,255,255,.22);
  font-size:.58em;
  line-height:1.45;
  color:rgba(255,255,255,.78);
}

.microthane-note .microthane-brand{
  vertical-align:middle;
}

.microthane-note .microthane-brand .pro-logo{
  width:1.75em;
  height:1.75em;
}

/* Mobile: preserve readability without competing with body copy */
@media(max-width:900px){
  .references{
    margin:1rem 0 1.25rem;
    padding-top:.72rem;
    font-size:.74em;
    line-height:1.48;
  }

  .references p{
    margin-bottom:.48rem;
  }

  .microthane-note{
    margin-top:1.15rem !important;
    padding-top:.75rem;
    font-size:.74em;
    line-height:1.48;
  }

  .microthane-note .microthane-brand .pro-logo{
    width:1.65em;
    height:1.65em;
  }
}

/* v05.4 — ONLY references / footnotes */
.references{
  margin:1rem 0 1.25rem;
  padding-top:.60rem;
  border-top:1px solid rgba(0,87,136,.18);
  font-size:.45em;
  line-height:1.45;
  font-weight:400;
  letter-spacing:.01em;
}
.references p{margin:0 0 .35rem;}
.references p:last-child{margin-bottom:0;}
.references sup{font-size:.51em;font-weight:600;margin-right:.18em;}
.chapter--deep .references{
  border-top-color:rgba(255,255,255,.18);
  color:rgba(255,255,255,.65);
}
.microthane-note{
  margin-top:1.10rem !important;
  padding-top:.65rem;
  border-top:1px solid rgba(255,255,255,.18);
  font-size:.45em;
  line-height:1.45;
  color:rgba(255,255,255,.65);
}
@media(max-width:900px){
  .references{
    margin:1rem 0 1.15rem;
    padding-top:.60rem;
    font-size:.51em;
    line-height:1.48;
  }
  .microthane-note{
    margin-top:1rem !important;
    padding-top:.62rem;
    font-size:.51em;
    line-height:1.48;
  }
}

/* =========================================================
   POLYTECH 40 — FINAL NOTES
   Bibliografia: 0.51em desktop / 0.54em mobile
   Nota Microthane: 0.99em desktop / 1.02em mobile
   ========================================================= */

/* Neutralizza la dimensione applicata al contenitore */
.references {
  font-size: 1em !important;
}

/* Bibliografia 1–3 e 4–6 */
.references p {
  font-size: 0.99em !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
}

/* Nota asterisco Microthane */
.microthane-note {
  font-size: 0.51em !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
}

@media(max-width:900px) {
  .references p {
    font-size: 1.02em !important;
  }

  .microthane-note {
    font-size: 0.54em !important;
  }
}

/* =========================================================
   POLYTECH 40 — FINAL CLEAN NOTE SIZING
   Stable absolute sizing: prevents nested em compounding.
   ========================================================= */

/* Bibliographic references */
.references {
  font-size: 1rem !important;
}

.references p {
  font-size: 0.64rem !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
}

/* Patent / Microthane explanatory note */
.microthane-note {
  font-size: 0.74rem !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
}

/* Keep superscript markers proportional to their own note text */
.references p sup {
  font-size: 0.72em !important;
  line-height: 0 !important;
  vertical-align: super !important;
}

@media(max-width:900px) {
  .references p {
    font-size: 0.68rem !important;
  }

  .microthane-note {
    font-size: 0.78rem !important;
  }
}

