/* ==========================================================================
   WILD COLOR – Pagina Hair Color Cream
   Un solo riquadro bianco largo quanto il contenitore del sito (max 1200 px):
     - in cima la fascia .hc-intro (titolo "Discover our 5 coloring lines" +
       invito "Select a line for more info"), aggiunta sopra la pagina del PDF
     - sotto la pagina 836 × 1130 pt del PDF "Hair color page website exp assets"
       (2 novembre 2026), .hc-sheet. Livelli, dal basso verso l'alto:
     1. fondo: foto delle ragazze con le cornici + punti elenco
     2. punti elenco che lampeggiano uno alla volta (strisce bianche sopra il fondo)
        e scritta WILDCOLOR: cambia colore e ogni 10 s esce a destra e rientra da sinistra
     3. tubetti sulla mensola di vetro (davanti alla scritta)
     4. 5 pulsanti delle famiglie → aprono la finestra informativa;
        lampeggiano uno alla volta (nero, scritta bianca) dall'alto in basso
     5. testo a macchina da scrivere nello spazio bianco centrale
   Tutte le posizioni sono in % del riquadro, misurate sul PDF.
   ========================================================================== */

/* Helvetica Neue Thin della brochure: si usa quella installata sul dispositivo
   (Mac, iPhone, iPad). Dove manca si passa a Roboto Thin (Google Fonts). */
@font-face {
  font-family: "WC Helvetica Thin";
  src: local("HelveticaNeue-Thin"), local("Helvetica Neue Thin");
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: "WC Helvetica Thin";
  src: local("HelveticaNeue-Bold"), local("Helvetica Neue Bold");
  font-weight: 700;
  font-style: normal;
}
/* Helvetica Neue UltraLight: lo stesso carattere delle scritte dei pulsanti */
@font-face {
  font-family: "WC Helvetica UltraLight";
  src: local("HelveticaNeue-UltraLight"), local("Helvetica Neue UltraLight");
  font-weight: 100;
  font-style: normal;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Colori delle famiglie della color chart (riempimenti degli "schizzi" nel PDF) */
:root {
  --fam-01: #55946d;   /* Natural */
  --fam-02: #87cfcb;   /* Toner */
  --fam-03: #73a7ca;   /* Intense Ash */
  --fam-04: #a99aca;   /* Ash Pearl */
  --fam-05: #7858a5;   /* Violet */
  --fam-06: #e57293;   /* Specials */
  --fam-07: #db5841;   /* Red */
  --fam-08: #b04f3a;   /* Mahogany */
  --fam-09: #c78e48;   /* Gold Copper */
  --fam-10: #c3a14d;   /* Golden */
  --fam-11: #ddc49f;   /* Beige */
  --fam-12: #a6792c;   /* Cool Brown */
  --fam-13: #915623;   /* Warm Brown */
  --fam-14: #46290b;   /* Tobacco */
  --fam-15: #2c2621;   /* Superlift */
  --fam-16: #8d8d91;   /* Matt Naturals */
  --fam-17: #bec0c3;   /* Ash */
  --hc-ink: #1d1d1b;   /* nero dei testi e delle cornici nel PDF */
}

/* Riquadro ------------------------------------------------------------------
   .hc-panel tiene insieme la fascia del titolo e la pagina: un unico blocco bianco. */
.hc-panel {
  width: 100%;
  margin: 0 auto;
  container-type: inline-size;      /* le misure in cqw della fascia seguono la larghezza del riquadro */
  background: #fff;
}

/* Fascia in cima: titolo + invito a scegliere una linea + freccia "PUSH".
   Misure in pt della pagina (1 pt = 100/836,22 cqw = 0,11959cqw).
   Lo spazio bianco tra il bordo in alto e il titolo è uguale a quello tra la
   punta della freccia e i pulsanti (circa 25 pt, misurati sulle lettere).
   La freccia (55,5 × 26 pt) scende nel margine bianco in cima alla pagina del PDF
   (le cornici partono 39,2 pt sotto) grazie al margine inferiore negativo.
   Sul telefono i corpi non scendono sotto una misura leggibile: valori a parte. */
.hc-intro {
  position: relative;
  z-index: 1;                       /* sopra il margine bianco della pagina */
  margin-bottom: -1.722cqw;         /* −14,4 pt */
  padding: 2.463cqw 3cqw 0;         /* 20,6 pt sopra */
  text-align: center;
}

.hc-intro__title {
  margin: 0;
  color: var(--hc-ink);
  font-family: "WC Helvetica UltraLight", "Helvetica Neue", "Roboto", Helvetica, Arial, sans-serif;
  font-weight: 100;
  font-size: max(17px, 3.983cqw);          /* 33,3 pt */
  line-height: 1.1;
  letter-spacing: .01em;
  text-transform: uppercase;
}

/* stesso stile della riga arancio sotto il titolo delle schede */
.hc-intro__hint {
  margin: .5em 0 0;
  color: var(--c-accent);
  font-family: var(--font);
  font-weight: 500;
  font-size: max(10px, 1.439cqw);          /* 12 pt */
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* freccia arancio in contorno con "CLICK", centrata sotto l'invito: lampeggia e
   scende verso i pulsanti famiglia (si ferma prima del primo: 62% della propria
   altezza = 22 px su computer, 13 px su telefono; spazio libero 34 / 18 px),
   poi risale. Stesso ritmo del lampeggio, piena quando è giù. */
.hc-intro__push {
  display: block;
  width: max(44px, 6.637cqw);       /* 55,5 pt */
  height: auto;
  margin: max(4px, .664cqw) auto 0; /* 5,5 pt */
  animation: hc-push-blink 1.4s ease-in-out infinite,
             hc-push-nudge 1.4s ease-in-out -.7s infinite;
}
/* solo contorno arancio, spesso come le cornici dei pulsanti famiglia (1,15 pt) */
.hc-intro__push polygon {
  fill: none;
  stroke: var(--c-accent);
  stroke-width: 1.25;               /* unità del disegno: 1,15 pt sulla pagina */
  stroke-linejoin: miter;
}
.hc-intro__push text {
  fill: var(--c-accent);
  font-family: var(--font);
  font-weight: 700;
  font-size: 8.5px;                 /* unità del disegno (viewBox 60 × 28); CLICK ha una lettera in più di PUSH */
  letter-spacing: .6px;
}

@keyframes hc-push-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .2; }
}
@keyframes hc-push-nudge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(62%); }
}

.hc-sheet {
  position: relative;
  width: 100%;
  aspect-ratio: 836.22 / 1130.06;
  container-type: inline-size;    /* il testo si misura sulla larghezza del riquadro */
  overflow: hidden;               /* la scritta che scorre esce dal riquadro */
  background: #fff;
}

.hc-sheet__bg {
  width: 100%;
  height: 100%;
}

/* Le 3 ragazze nei riquadri (dal PDF "girls square haircolor page", stessa
   scala della pagina). Ogni immagine comprende già il suo filo. Posizione di
   partenza come nel PDF; poi hc-girls.js le rimescola in volo.
   multiply: il bianco delle foto è trasparente, così dove si sovrappongono
   si vedono i fili e le foto di sotto, come nell'impaginato. */
.hc-girls {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hc-girl {
  position: absolute;
  max-width: none;
  height: auto;
  mix-blend-mode: multiply;
  will-change: transform;
}
.hc-girl--blonde { left: 3.172%; top: 3.396%;  width: 18.451%; }
.hc-girl--black  { left: 9.473%; top: 15.612%; width: 28.485%; }
.hc-girl--red    { left: 3.172%; top: 28.108%; width: 23.791%; }

/* Scritta WILDCOLOR ----------------------------------------------------------
   Forma vettoriale presa dal PDF (SVG incorporato: nitida a ogni dimensione
   e funzionante anche aprendo il file dal computer).
   Due livelli: .hc-logo scorre, .hc-logo__shape cambia colore.
   Posizione: x 29–814 pt, y 804–908 pt. */
.hc-logo {
  position: absolute;
  left: 3.484%;
  top: 71.123%;
  width: 93.898%;
  height: 9.242%;
  animation: hc-logo-slide 12.4s infinite;
  pointer-events: none;
}

.hc-logo__shape {
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--fam-01);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 785.20 104.44'%3E%3Cpath fill-rule='nonzero' d='M85.33 101.92L62.60 18.26L62.32 18.26L39.32 101.92L25.52 101.92L0.00 2.37L13.52 2.37L33.05 85.19L33.32 85.19L55.63 2.37L69.99 2.37L92.02 85.19L92.30 85.19L112.51 2.37L125.76 2.37L99.13 101.92L85.33 101.92M136.39 2.37h13.25v99.54h-13.25ZM176.11 2.37L176.11 90.76L228.81 90.76L228.81 101.92L162.86 101.92L162.86 2.37L176.11 2.37M270.71 90.76C272.19 90.76 274.05 90.65 276.28 90.42C278.52 90.18 280.88 89.63 283.39 88.75C285.90 87.86 288.39 86.58 290.85 84.91C293.31 83.24 295.52 80.96 297.47 78.08C299.43 75.20 301.03 71.59 302.28 67.28C303.54 62.95 304.17 57.72 304.17 51.59C304.17 45.64 303.58 40.32 302.42 35.62C301.26 30.93 299.36 26.94 296.71 23.63C294.06 20.34 290.64 17.82 286.46 16.10C282.28 14.39 277.12 13.53 270.99 13.53L248.68 13.53L248.68 90.76L270.71 90.76M269.59 2.37C284.92 2.37 296.73 6.28 305.00 14.09C313.27 21.89 317.41 33.79 317.41 49.78C317.41 58.14 316.48 65.56 314.62 72.01C312.76 78.47 309.88 83.91 305.98 88.32C302.08 92.74 297.10 96.11 291.06 98.43C285.02 100.76 277.86 101.92 269.59 101.92L235.43 101.92L235.43 2.37L269.59 2.37'/%3E%3Cpath fill-rule='nonzero' d='M410.59 62.63C409.87 67.85 408.48 72.79 406.45 77.31C404.42 81.79 401.74 85.70 398.49 88.95C395.25 92.19 391.34 94.76 386.86 96.60C382.37 98.44 377.24 99.38 371.60 99.38C365.26 99.38 359.54 98.09 354.59 95.55C349.61 93.00 345.35 89.57 341.93 85.36C338.49 81.14 335.85 76.17 334.08 70.61C332.30 65.03 331.40 59.14 331.40 53.11C331.40 48.14 332.15 42.78 333.62 37.18C335.08 31.62 337.48 26.40 340.76 21.67C344.01 16.97 348.36 13.01 353.70 9.88C359.00 6.78 365.62 5.21 373.38 5.21C378.49 5.21 383.19 6.03 387.36 7.65C391.53 9.27 395.18 11.42 398.21 14.05C401.22 16.66 403.64 19.65 405.38 22.91C407.12 26.16 408.13 29.51 408.39 32.86L408.47 34.01L413.63 34.01L413.59 32.73C413.50 29.58 412.58 26.07 410.89 22.30C409.19 18.54 406.65 14.95 403.31 11.62C399.99 8.30 395.79 5.51 390.84 3.32C385.87 1.12 380.00 0.00 373.38 0.00C364.91 0.00 357.58 1.66 351.59 4.93C345.61 8.20 340.69 12.45 336.96 17.57C333.24 22.67 330.49 28.43 328.77 34.70C327.06 40.90 326.20 47.10 326.20 53.11C326.20 60.50 327.32 67.41 329.55 73.66C331.78 79.92 334.92 85.39 338.88 89.89C342.85 94.41 347.68 98.01 353.24 100.57C358.80 103.14 364.98 104.44 371.60 104.44C377.93 104.44 383.71 103.40 388.75 101.35C393.80 99.30 398.23 96.41 401.94 92.75C405.64 89.11 408.70 84.69 411.02 79.63C413.34 74.58 414.94 68.98 415.77 62.97L415.96 61.56L410.73 61.56L410.59 62.63'/%3E%3Cpath fill-rule='nonzero' d='M467.06 99.38C460.70 99.38 454.94 98.20 449.94 95.87C444.93 93.55 440.63 90.28 437.17 86.16C433.69 82.04 430.95 77.03 429.05 71.28C427.14 65.51 426.12 59.12 426.04 52.30C426.12 45.46 427.14 39.06 429.05 33.30C430.95 27.55 433.69 22.55 437.17 18.42C440.64 14.30 444.94 11.03 449.94 8.71C454.95 6.38 460.70 5.21 467.06 5.21C473.41 5.21 479.17 6.38 484.18 8.71C489.19 11.03 493.48 14.30 496.95 18.42C500.43 22.55 503.16 27.56 505.06 33.30C506.98 39.06 507.99 45.46 508.08 52.27C507.99 59.12 506.98 65.52 505.06 71.28C503.16 77.02 500.43 82.03 496.95 86.16C493.49 90.28 489.19 93.54 484.18 95.87C479.17 98.20 473.41 99.38 467.06 99.38M501.45 15.61C497.58 10.85 492.70 7.02 486.95 4.22C481.19 1.42 474.50 0.00 467.06 0.00C459.62 0.00 452.92 1.42 447.16 4.22C441.42 7.02 436.54 10.85 432.66 15.61C428.79 20.35 425.82 25.96 423.83 32.26C421.84 38.52 420.83 45.26 420.83 52.29C420.83 59.32 421.84 66.05 423.83 72.32C425.82 78.62 428.79 84.22 432.66 88.97C436.54 93.73 441.42 97.54 447.17 100.29C452.92 103.05 459.61 104.44 467.06 104.44C474.50 104.44 481.20 103.05 486.95 100.29C492.69 97.54 497.57 93.73 501.45 88.97C505.32 84.22 508.29 78.62 510.29 72.32C512.28 66.04 513.29 59.30 513.29 52.29C513.29 45.28 512.28 38.54 510.29 32.26C508.29 25.96 505.32 20.35 501.45 15.61'/%3E%3Cpath fill-rule='nonzero' d='M527.64 2.32L522.44 2.32L522.44 102.25L584.67 102.25L584.67 97.05L527.64 97.05L527.64 2.32'/%3E%3Cpath fill-rule='nonzero' d='M683.13 7.53L719.77 7.53C728.70 7.53 735.17 9.37 739.02 12.99C742.85 16.60 744.84 21.75 744.93 28.27C744.93 32.32 744.19 35.83 742.73 38.69C741.27 41.57 739.31 43.98 736.92 45.86C734.51 47.75 731.68 49.14 728.53 50.01C725.33 50.88 721.92 51.32 718.40 51.32L683.13 51.32L683.13 7.53M750.58 100.30C750.39 100.03 750.02 99.30 749.70 97.40C749.44 95.79 749.21 94.00 749.03 92.03C748.85 90.05 748.72 88.05 748.63 86.02C748.54 83.99 748.50 82.31 748.50 80.95C748.50 77.00 748.26 73.41 747.80 70.27C747.32 67.03 746.34 64.16 744.90 61.75C743.42 59.30 741.28 57.29 738.55 55.78C736.92 54.88 734.97 54.14 732.73 53.57C737.69 51.81 741.69 49.16 744.64 45.65C748.47 41.11 750.32 35.34 750.13 28.51C749.94 19.63 747.31 12.96 742.32 8.70C737.36 4.47 729.55 2.32 719.08 2.32L677.92 2.32L677.92 102.26L683.13 102.26L683.13 56.53L718.68 56.53C724.17 56.53 728.59 57.08 731.82 58.17C734.96 59.23 737.40 60.76 739.07 62.71C740.74 64.68 741.86 67.15 742.41 70.06C742.99 73.11 743.29 76.64 743.29 80.54C743.29 82.10 743.31 83.86 743.36 85.83C743.40 87.81 743.49 89.76 743.63 91.69C743.77 93.63 743.98 95.48 744.26 97.19C744.54 98.96 744.94 100.43 745.45 101.53L745.78 102.26L751.99 102.26L750.58 100.30'/%3E%3Cpath fill-rule='nonzero' d='M622.54 99.38C616.18 99.38 610.42 98.20 605.41 95.87C600.40 93.54 596.11 90.28 592.64 86.16C589.16 82.04 586.44 77.04 584.53 71.28C582.62 65.52 581.60 59.12 581.51 52.31C581.60 45.46 582.62 39.06 584.53 33.30C586.43 27.55 589.16 22.54 592.64 18.42C596.11 14.30 600.41 11.03 605.41 8.71C610.42 6.38 616.18 5.21 622.54 5.21C628.89 5.21 634.64 6.38 639.66 8.71C644.66 11.03 648.95 14.29 652.43 18.42C655.91 22.56 658.64 27.56 660.54 33.30C662.45 39.05 663.46 45.45 663.56 52.27C663.46 59.13 662.45 65.53 660.54 71.28C658.64 77.02 655.91 82.03 652.43 86.16C648.95 90.28 644.66 93.55 639.66 95.87C634.65 98.20 628.89 99.38 622.54 99.38M656.93 15.61C653.05 10.85 648.17 7.02 642.43 4.22C636.67 1.42 629.98 0.00 622.54 0.00C615.09 0.00 608.40 1.42 602.64 4.22C596.89 7.02 592.01 10.85 588.14 15.61C584.27 20.36 581.29 25.96 579.30 32.26C577.31 38.55 576.31 45.29 576.31 52.29C576.31 59.29 577.31 66.03 579.30 72.32C581.29 78.61 584.27 84.22 588.14 88.97C592.01 93.73 596.89 97.54 602.65 100.29C608.39 103.05 615.08 104.44 622.54 104.44C629.98 104.44 636.67 103.05 642.42 100.29C648.16 97.54 653.04 93.73 656.94 88.97C660.80 84.23 663.77 78.63 665.77 72.32C667.76 66.03 668.76 59.29 668.76 52.29C668.76 45.29 667.76 38.55 665.77 32.26C663.76 25.95 660.79 20.35 656.93 15.61'/%3E%3Cpath fill-rule='nonzero' d='M781.53 2.72L777.26 13.74L772.93 2.72L769.22 2.72L769.22 17.24L771.62 17.24L771.62 5.11L771.69 5.11L776.45 17.24L777.97 17.24L782.73 5.11L782.79 5.11L782.79 17.24L785.20 17.24L785.20 2.72L781.53 2.72M754.77 2.72L754.77 4.65L759.32 4.65L759.32 17.24L761.72 17.24L761.72 4.65L766.26 4.65L766.26 2.72L754.77 2.72'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 785.20 104.44'%3E%3Cpath fill-rule='nonzero' d='M85.33 101.92L62.60 18.26L62.32 18.26L39.32 101.92L25.52 101.92L0.00 2.37L13.52 2.37L33.05 85.19L33.32 85.19L55.63 2.37L69.99 2.37L92.02 85.19L92.30 85.19L112.51 2.37L125.76 2.37L99.13 101.92L85.33 101.92M136.39 2.37h13.25v99.54h-13.25ZM176.11 2.37L176.11 90.76L228.81 90.76L228.81 101.92L162.86 101.92L162.86 2.37L176.11 2.37M270.71 90.76C272.19 90.76 274.05 90.65 276.28 90.42C278.52 90.18 280.88 89.63 283.39 88.75C285.90 87.86 288.39 86.58 290.85 84.91C293.31 83.24 295.52 80.96 297.47 78.08C299.43 75.20 301.03 71.59 302.28 67.28C303.54 62.95 304.17 57.72 304.17 51.59C304.17 45.64 303.58 40.32 302.42 35.62C301.26 30.93 299.36 26.94 296.71 23.63C294.06 20.34 290.64 17.82 286.46 16.10C282.28 14.39 277.12 13.53 270.99 13.53L248.68 13.53L248.68 90.76L270.71 90.76M269.59 2.37C284.92 2.37 296.73 6.28 305.00 14.09C313.27 21.89 317.41 33.79 317.41 49.78C317.41 58.14 316.48 65.56 314.62 72.01C312.76 78.47 309.88 83.91 305.98 88.32C302.08 92.74 297.10 96.11 291.06 98.43C285.02 100.76 277.86 101.92 269.59 101.92L235.43 101.92L235.43 2.37L269.59 2.37'/%3E%3Cpath fill-rule='nonzero' d='M410.59 62.63C409.87 67.85 408.48 72.79 406.45 77.31C404.42 81.79 401.74 85.70 398.49 88.95C395.25 92.19 391.34 94.76 386.86 96.60C382.37 98.44 377.24 99.38 371.60 99.38C365.26 99.38 359.54 98.09 354.59 95.55C349.61 93.00 345.35 89.57 341.93 85.36C338.49 81.14 335.85 76.17 334.08 70.61C332.30 65.03 331.40 59.14 331.40 53.11C331.40 48.14 332.15 42.78 333.62 37.18C335.08 31.62 337.48 26.40 340.76 21.67C344.01 16.97 348.36 13.01 353.70 9.88C359.00 6.78 365.62 5.21 373.38 5.21C378.49 5.21 383.19 6.03 387.36 7.65C391.53 9.27 395.18 11.42 398.21 14.05C401.22 16.66 403.64 19.65 405.38 22.91C407.12 26.16 408.13 29.51 408.39 32.86L408.47 34.01L413.63 34.01L413.59 32.73C413.50 29.58 412.58 26.07 410.89 22.30C409.19 18.54 406.65 14.95 403.31 11.62C399.99 8.30 395.79 5.51 390.84 3.32C385.87 1.12 380.00 0.00 373.38 0.00C364.91 0.00 357.58 1.66 351.59 4.93C345.61 8.20 340.69 12.45 336.96 17.57C333.24 22.67 330.49 28.43 328.77 34.70C327.06 40.90 326.20 47.10 326.20 53.11C326.20 60.50 327.32 67.41 329.55 73.66C331.78 79.92 334.92 85.39 338.88 89.89C342.85 94.41 347.68 98.01 353.24 100.57C358.80 103.14 364.98 104.44 371.60 104.44C377.93 104.44 383.71 103.40 388.75 101.35C393.80 99.30 398.23 96.41 401.94 92.75C405.64 89.11 408.70 84.69 411.02 79.63C413.34 74.58 414.94 68.98 415.77 62.97L415.96 61.56L410.73 61.56L410.59 62.63'/%3E%3Cpath fill-rule='nonzero' d='M467.06 99.38C460.70 99.38 454.94 98.20 449.94 95.87C444.93 93.55 440.63 90.28 437.17 86.16C433.69 82.04 430.95 77.03 429.05 71.28C427.14 65.51 426.12 59.12 426.04 52.30C426.12 45.46 427.14 39.06 429.05 33.30C430.95 27.55 433.69 22.55 437.17 18.42C440.64 14.30 444.94 11.03 449.94 8.71C454.95 6.38 460.70 5.21 467.06 5.21C473.41 5.21 479.17 6.38 484.18 8.71C489.19 11.03 493.48 14.30 496.95 18.42C500.43 22.55 503.16 27.56 505.06 33.30C506.98 39.06 507.99 45.46 508.08 52.27C507.99 59.12 506.98 65.52 505.06 71.28C503.16 77.02 500.43 82.03 496.95 86.16C493.49 90.28 489.19 93.54 484.18 95.87C479.17 98.20 473.41 99.38 467.06 99.38M501.45 15.61C497.58 10.85 492.70 7.02 486.95 4.22C481.19 1.42 474.50 0.00 467.06 0.00C459.62 0.00 452.92 1.42 447.16 4.22C441.42 7.02 436.54 10.85 432.66 15.61C428.79 20.35 425.82 25.96 423.83 32.26C421.84 38.52 420.83 45.26 420.83 52.29C420.83 59.32 421.84 66.05 423.83 72.32C425.82 78.62 428.79 84.22 432.66 88.97C436.54 93.73 441.42 97.54 447.17 100.29C452.92 103.05 459.61 104.44 467.06 104.44C474.50 104.44 481.20 103.05 486.95 100.29C492.69 97.54 497.57 93.73 501.45 88.97C505.32 84.22 508.29 78.62 510.29 72.32C512.28 66.04 513.29 59.30 513.29 52.29C513.29 45.28 512.28 38.54 510.29 32.26C508.29 25.96 505.32 20.35 501.45 15.61'/%3E%3Cpath fill-rule='nonzero' d='M527.64 2.32L522.44 2.32L522.44 102.25L584.67 102.25L584.67 97.05L527.64 97.05L527.64 2.32'/%3E%3Cpath fill-rule='nonzero' d='M683.13 7.53L719.77 7.53C728.70 7.53 735.17 9.37 739.02 12.99C742.85 16.60 744.84 21.75 744.93 28.27C744.93 32.32 744.19 35.83 742.73 38.69C741.27 41.57 739.31 43.98 736.92 45.86C734.51 47.75 731.68 49.14 728.53 50.01C725.33 50.88 721.92 51.32 718.40 51.32L683.13 51.32L683.13 7.53M750.58 100.30C750.39 100.03 750.02 99.30 749.70 97.40C749.44 95.79 749.21 94.00 749.03 92.03C748.85 90.05 748.72 88.05 748.63 86.02C748.54 83.99 748.50 82.31 748.50 80.95C748.50 77.00 748.26 73.41 747.80 70.27C747.32 67.03 746.34 64.16 744.90 61.75C743.42 59.30 741.28 57.29 738.55 55.78C736.92 54.88 734.97 54.14 732.73 53.57C737.69 51.81 741.69 49.16 744.64 45.65C748.47 41.11 750.32 35.34 750.13 28.51C749.94 19.63 747.31 12.96 742.32 8.70C737.36 4.47 729.55 2.32 719.08 2.32L677.92 2.32L677.92 102.26L683.13 102.26L683.13 56.53L718.68 56.53C724.17 56.53 728.59 57.08 731.82 58.17C734.96 59.23 737.40 60.76 739.07 62.71C740.74 64.68 741.86 67.15 742.41 70.06C742.99 73.11 743.29 76.64 743.29 80.54C743.29 82.10 743.31 83.86 743.36 85.83C743.40 87.81 743.49 89.76 743.63 91.69C743.77 93.63 743.98 95.48 744.26 97.19C744.54 98.96 744.94 100.43 745.45 101.53L745.78 102.26L751.99 102.26L750.58 100.30'/%3E%3Cpath fill-rule='nonzero' d='M622.54 99.38C616.18 99.38 610.42 98.20 605.41 95.87C600.40 93.54 596.11 90.28 592.64 86.16C589.16 82.04 586.44 77.04 584.53 71.28C582.62 65.52 581.60 59.12 581.51 52.31C581.60 45.46 582.62 39.06 584.53 33.30C586.43 27.55 589.16 22.54 592.64 18.42C596.11 14.30 600.41 11.03 605.41 8.71C610.42 6.38 616.18 5.21 622.54 5.21C628.89 5.21 634.64 6.38 639.66 8.71C644.66 11.03 648.95 14.29 652.43 18.42C655.91 22.56 658.64 27.56 660.54 33.30C662.45 39.05 663.46 45.45 663.56 52.27C663.46 59.13 662.45 65.53 660.54 71.28C658.64 77.02 655.91 82.03 652.43 86.16C648.95 90.28 644.66 93.55 639.66 95.87C634.65 98.20 628.89 99.38 622.54 99.38M656.93 15.61C653.05 10.85 648.17 7.02 642.43 4.22C636.67 1.42 629.98 0.00 622.54 0.00C615.09 0.00 608.40 1.42 602.64 4.22C596.89 7.02 592.01 10.85 588.14 15.61C584.27 20.36 581.29 25.96 579.30 32.26C577.31 38.55 576.31 45.29 576.31 52.29C576.31 59.29 577.31 66.03 579.30 72.32C581.29 78.61 584.27 84.22 588.14 88.97C592.01 93.73 596.89 97.54 602.65 100.29C608.39 103.05 615.08 104.44 622.54 104.44C629.98 104.44 636.67 103.05 642.42 100.29C648.16 97.54 653.04 93.73 656.94 88.97C660.80 84.23 663.77 78.63 665.77 72.32C667.76 66.03 668.76 59.29 668.76 52.29C668.76 45.29 667.76 38.55 665.77 32.26C663.76 25.95 660.79 20.35 656.93 15.61'/%3E%3Cpath fill-rule='nonzero' d='M781.53 2.72L777.26 13.74L772.93 2.72L769.22 2.72L769.22 17.24L771.62 17.24L771.62 5.11L771.69 5.11L776.45 17.24L777.97 17.24L782.73 5.11L782.79 5.11L782.79 17.24L785.20 17.24L785.20 2.72L781.53 2.72M754.77 2.72L754.77 4.65L759.32 4.65L759.32 17.24L761.72 17.24L761.72 4.65L766.26 4.65L766.26 2.72L754.77 2.72'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  animation: family-colors 40.8s ease-in-out infinite;   /* 17 colori: 1.4 s fermo + 1.0 s di passaggio */
}

/* 10 s ferma → 1,2 s esce a destra → rientra da sinistra in 1,2 s */
@keyframes hc-logo-slide {
  0%, 80.645% { transform: translateX(0);    animation-timing-function: cubic-bezier(.55, 0, .85, .35); }
  90.32%      { transform: translateX(104%); animation-timing-function: step-end; }
  90.33%      { transform: translateX(-105%); animation-timing-function: cubic-bezier(.15, .65, .45, 1); }
  100%        { transform: translateX(0); }
}

@keyframes family-colors {
  0.00%, 3.43% { background-color: var(--fam-01); }
  5.88%, 9.31% { background-color: var(--fam-02); }
  11.76%, 15.20% { background-color: var(--fam-03); }
  17.65%, 21.08% { background-color: var(--fam-04); }
  23.53%, 26.96% { background-color: var(--fam-05); }
  29.41%, 32.84% { background-color: var(--fam-06); }
  35.29%, 38.73% { background-color: var(--fam-07); }
  41.18%, 44.61% { background-color: var(--fam-08); }
  47.06%, 50.49% { background-color: var(--fam-09); }
  52.94%, 56.37% { background-color: var(--fam-10); }
  58.82%, 62.25% { background-color: var(--fam-11); }
  64.71%, 68.14% { background-color: var(--fam-12); }
  70.59%, 74.02% { background-color: var(--fam-13); }
  76.47%, 79.90% { background-color: var(--fam-14); }
  82.35%, 85.78% { background-color: var(--fam-15); }
  88.24%, 91.67% { background-color: var(--fam-16); }
  94.12%, 97.55% { background-color: var(--fam-17); }
  100% { background-color: var(--fam-01); }
}

/* Punti elenco che lampeggiano ---------------------------------------------
   Le 5 frasi sono nell'immagine di fondo: sopra ognuna c'è una striscia bianca
   trasparente che, quando tocca a lei, si schiarisce e si scurisce 3 volte
   (frase e pallino "lampeggiano" lentamente), poi passa alla frase sotto.
   Ciclo 21 s: 4,2 s per frase (3 lampeggi da 1,4 s), dall'alto in basso.
   Strisce: x 24–814 pt, alte 35 pt, dalla y 573,5 pt ogni 37,04 pt (interlinea del PDF). */
.hc-bullets-blink {
  position: absolute;
  left: 2.870%;
  width: 94.473%;
  height: 3.097%;
  background: #fff;
  opacity: 0;
  animation: hc-blink 21s ease-in-out infinite;
  pointer-events: none;
}
.hc-bullets-blink--1 { top: 50.750%; }
.hc-bullets-blink--2 { top: 54.027%; animation-delay: 4.2s; }
.hc-bullets-blink--3 { top: 57.305%; animation-delay: 8.4s; }
.hc-bullets-blink--4 { top: 60.583%; animation-delay: 12.6s; }
.hc-bullets-blink--5 { top: 63.860%; animation-delay: 16.8s; }

/* 3 lampeggi nei primi 4,2 s (20%), poi la frase resta ferma e piena */
@keyframes hc-blink {
  0%      { opacity: 0; }
  3.333%  { opacity: .9; }
  6.667%  { opacity: 0; }
  10%     { opacity: .9; }
  13.333% { opacity: 0; }
  16.667% { opacity: .9; }
  20%, 100% { opacity: 0; }
}

/* Tubetti sulla mensola: immagine originale con trasparenza, davanti alla scritta.
   Nel PDF esce di poco dalla pagina (x −0,4…851 pt): il riquadro la taglia. */
.hc-sheet__tubes {
  position: absolute;
  left: -0.049%;
  top: 58.962%;
  width: 101.854%;
  max-width: none;
  height: 42.067%;
  pointer-events: none;
}

/* Pulsanti delle 5 famiglie ---------------------------------------------------
   Cornice + scritta come nel PDF (x 343–814 pt, 75 pt di altezza ciascuno).
   Al passaggio del mouse si "accendono": fondo nero, scritta e cornice bianche.
   Per far capire che si possono premere, si accendono da soli uno alla volta,
   dall'alto in basso: 3 lampeggi da 1,4 s ciascuno (4,2 s), giro di 21 s,
   stesso ritmo e in fase con i punti elenco. Col mouse sopra, col focus o a
   scheda aperta il pulsante resta acceso fisso: si usa !important (che vince
   sull'animazione) invece di togliere l'animazione, perché toglierla e rimetterla
   la farebbe ripartire da zero e il pulsante uscirebbe dalla sequenza. */
.hc-families {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hc-family {
  position: absolute;
  left: 41.068%;
  width: 56.228%;
  height: 6.604%;
  background-color: transparent;
  transition: background-color .25s var(--ease);
  animation: hc-family-blink 21s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}
.hc-family--1 { top: 3.469%; }
.hc-family--2 { top: 11.169%; }
.hc-family--3 { top: 18.868%; }
.hc-family--4 { top: 26.568%; }
.hc-family--5 { top: 34.268%; }

.hc-family__img {
  width: 100%;
  height: 100%;
  transition: filter .25s var(--ease);
  animation: hc-family-blink-img 21s ease-in-out infinite;
}

/* uno alla volta, dall'alto in basso */
.hc-family--2,
.hc-family--2 .hc-family__img { animation-delay: 4.2s; }
.hc-family--3,
.hc-family--3 .hc-family__img { animation-delay: 8.4s; }
.hc-family--4,
.hc-family--4 .hc-family__img { animation-delay: 12.6s; }
.hc-family--5,
.hc-family--5 .hc-family__img { animation-delay: 16.8s; }

/* 3 lampeggi nei primi 4,2 s (20%), poi spento fino al giro successivo */
@keyframes hc-family-blink {
  0%, 20%, 100% { background-color: transparent; }
  3.333%, 10%, 16.667% { background-color: var(--hc-ink); }
  6.667%, 13.333% { background-color: transparent; }
}
@keyframes hc-family-blink-img {
  0%, 20%, 100% { filter: invert(0); }
  3.333%, 10%, 16.667% { filter: invert(1); }
  6.667%, 13.333% { filter: invert(0); }
}

.hc-family:hover,
.hc-family:focus-visible,
.hc-family[aria-expanded="true"] { background-color: var(--hc-ink) !important; }

.hc-family:hover .hc-family__img,
.hc-family:focus-visible .hc-family__img,
.hc-family[aria-expanded="true"] .hc-family__img { filter: invert(1) !important; }

.hc-family:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

/* Macchina da scrivere -----------------------------------------------------
   Spazio bianco tra i pulsanti e i punti elenco (x 26–813 pt, y 467–571 pt),
   testo centrato, corpo 42 pt sulla pagina (max 2 righe); --tw-fit (impostato
   dallo script) lo riduce solo se una frase, con il font del dispositivo, non sta nell'area. */
.typewriter {
  position: absolute;
  left: 3.064%;
  top: 41.325%;
  width: 94.165%;
  height: 9.203%;
  display: flex;
  align-items: center;
  margin: 0;
  color: var(--hc-ink);
  font-family: "WC Helvetica Thin", "Helvetica Neue", "Roboto", Helvetica, Arial, sans-serif;
  font-weight: 200;
  font-size: calc(5.023cqw * var(--tw-fit, 1));
  line-height: 1.1;
  letter-spacing: .005em;
  pointer-events: none;
}

.typewriter strong { font-weight: 700; }

.typewriter__text {
  display: block;
  width: 100%;
  text-align: center;
  white-space: pre-wrap;
}

/* cursore arancio */
.typewriter__text::after {
  content: "";
  display: inline-block;
  width: .06em;
  min-width: 1px;
  height: 1.05em;
  margin-left: .08em;
  vertical-align: -.15em;
  background: var(--c-accent);
  animation: tw-blink 1s steps(1) infinite;
}
.typewriter.is-typing .typewriter__text::after { animation: none; }

@keyframes tw-blink { 50% { opacity: 0; } }

/* Finestra informativa delle famiglie -----------------------------------------
   Stessa grafica della finestra d'ingrandimento delle ciocche (Color Chart):
   fondo scuro, scheda bianca con filo arancio, X per chiudere, frecce. */
.fam-box {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .82);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.fam-box[hidden] { display: none; }
.fam-box.is-open { opacity: 1; }

.fam-box__card {
  position: relative;
  /* Tutte le schede hanno la stessa misura: quadrate, grandi quanto basta per la
     scheda Direct Color (pagina 370 × 347 pt), al massimo 920 × 920 px e mai più
     alte dello schermo (la larghezza si adatta anche all'altezza della finestra).
     Se un contenuto è più lungo, scorre dentro la scheda. */
  width: min(920px, 100%, calc((100vh - 178px) * .96 + 112px));
  width: min(920px, 100%, calc((100dvh - 178px) * .96 + 112px));
  aspect-ratio: 1 / 1;
  min-height: 0;                    /* resta quadrata anche se il contenuto è più lungo */
  max-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px 56px 32px;
  background: #ffffff;
  border-top: 3px solid var(--c-accent);
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
  color: #222;
  text-align: center;
  transform: translateY(10px) scale(.98);
  transition: transform .25s var(--ease);
}
.fam-box.is-open .fam-box__card { transform: none; }

/* scheda scura (Direct Color): stessa struttura, fondo nero */
.fam-box__card.is-dark {
  background: #000;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 20px 60px rgba(0, 0, 0, .6);
  color-scheme: dark;              /* barra di scorrimento scura */
}
.fam-box__card.is-dark .fam-box__name  { color: #fff; }
.fam-box__card.is-dark .fam-box__close { color: #aaa; }
.fam-box__card.is-dark .fam-box__nav   { color: #888; }
.fam-box__card.is-dark .fam-box__close:hover,
.fam-box__card.is-dark .fam-box__nav:hover { color: var(--c-accent); }

.fam-box__name {
  margin: 0;
  color: #222;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.fam-box__product {
  margin: 6px 0 18px;
  color: var(--c-accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* contenuto della famiglia (uno per famiglia, si vede solo quello scelto) */
.fam-box__body {
  flex: 1 1 auto;
  min-height: 0;                    /* può restringersi e scorrere dentro la scheda */
  overflow-y: auto;
  font-size: 15px;
  line-height: 1.6;
}

.fam-box__panel[hidden] { display: none; }

/* Scheda DIRECT COLOR ----------------------------------------------------------
   Dal PDF "direct color box" (370 × 347 pt, fondo nero): testo bianco giustificato
   (Helvetica Neue Thin/Bold 8 pt, interlinea 9,6 pt) e foto delle ragazze sotto.
   Il corpo segue la larghezza della scheda come nel PDF (8/370 = 2,162%),
   mai sotto 12,5 px perché resti leggibile sul telefono.
   La foto sale sotto le ultime righe come nel PDF (fondo nero), un po' meno
   (29,6 pt invece di 35,5) perché col font di ripiego il testo non tocchi i tubetti. */
.dc-sheet {
  container-type: inline-size;
  text-align: justify;
  font-family: "WC Helvetica Thin", "Helvetica Neue", "Roboto", Helvetica, Arial, sans-serif;
  font-weight: 200;
}

.dc-sheet__text {
  position: relative;               /* sopra la foto */
  z-index: 1;
  margin: 0;
  font-size: max(12.5px, 2.162cqw);
  line-height: 1.2;
}
.dc-sheet__text + .dc-sheet__text { margin-top: 1.05em; }
.dc-sheet__text strong { font-weight: 700; }

.dc-sheet__photo {
  width: 100%;
  margin-top: -8cqw;
}

/* Schede delle 4 linee (Color Permanent, Ammonia Free, All Free, Acid Color) --
   Dal PDF "Box pop descritctions hair color lines" (1616 × 1566 pt = area
   contenuto della scheda 808 × 783 px a risoluzione doppia), fondo nero:
   - in alto la foto del marmo con i due tubetti (nel PDF: x −15,4…1631,4 pt,
     y −6,7…912,5 pt);
   - il testo bianco (Helvetica Neue Thin 30,9 pt, interlinea 37,04 pt, a
     bandiera) da x 272,6 pt, prima linea di base a y 299,1 pt; a destra segue il
     tubetto in basso grazie a .ln-sheet__wrap (shape-outside);
   - in basso il nero piatto (da y 912,5 pt) per l'immagine della linea.
   Misure in cqw = % della larghezza della scheda (1616 pt = 100cqw).
   Scheda stretta (telefono, schermi bassi): fondo nero piatto, i due tubetti
   scontornati incorniciano il testo (uno in alto a sinistra, l'altro sotto a
   destra), poi l'immagine della linea; testo a misura leggibile. */
.fam-box__panel:has(> .ln-sheet) { container-type: inline-size; }

.ln-sheet {
  position: relative;
  aspect-ratio: 1616 / 1566;
  overflow: hidden;
  background: #000;
  color: #fff;
  text-align: left;
  font-family: "WC Helvetica Thin", "Helvetica Neue", "Roboto", Helvetica, Arial, sans-serif;
  font-weight: 200;
}

.ln-sheet__bg {
  position: absolute;
  left: -0.953cqw;                  /* −15,4 / 1616 */
  top: -0.412cqw;                   /* −6,66 / 1616 */
  width: 101.906cqw;                /* 1646,8 / 1616 */
  max-width: none;
  height: auto;
}

.ln-sheet__text {
  position: absolute;
  left: 16.869cqw;                  /* 272,6 pt */
  top: 16.658cqw;                   /* 269,2 pt: linea di base a 299,1 pt */
  width: 66.275cqw;                 /* fino a 1343,6 pt */
  height: 39.790cqw;                /* fino a 912,2 pt: sopra il nero piatto */
  font-size: 1.912cqw;              /* 30,9 pt */
  line-height: 1.1988;              /* 37,04 pt */
  hyphens: auto;
  -webkit-hyphens: auto;
}
.ln-sheet__text p { margin: 0; }

/* tubetti scontornati: solo nella scheda stretta */
.ln-sheet__tube { display: none; }

/* sagoma del tubetto in basso a destra (24 pt di aria dal bordo): il testo
   va a capo seguendola */
.ln-sheet__wrap {
  float: right;
  width: 100%;
  height: 100%;
  shape-outside: polygon(100% 0, 99.93% 40.86%, 95.46% 50.16%, 88.20% 57.60%,
                         81.49% 61.34%, 78.14% 68.77%, 71.44% 76.22%,
                         64.51% 78.09%, 59.15% 81.80%, 55.80% 84.59%,
                         55.80% 100%, 100% 100%);
}

/* spazio per l'immagine della linea (nero piatto, da y 912,5 pt) */
.ln-sheet__photo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 41.734%;                  /* 653,5 / 1566 */
}
.ln-sheet__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@container (max-width: 620px) {
  .ln-sheet { aspect-ratio: auto; }
  .ln-sheet__bg { display: none; }
  .ln-sheet__tube {
    display: block;
    max-width: none;
    height: auto;
  }
  .ln-sheet__tube--top { width: 66%; }
  .ln-sheet__tube--bottom {
    width: 70%;
    margin: 6px 0 0 auto;
  }
  .ln-sheet__text {
    position: static;
    width: auto;
    height: auto;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.4;
  }
  .ln-sheet__text p + p { margin-top: .6em; }
  .ln-sheet__wrap { display: none; }
  .ln-sheet__photo {
    position: static;
    height: auto;
    aspect-ratio: 1616 / 653.5;
  }
}

.fam-box__soon {
  margin: 48px 0;
  color: #8a8f91;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Chiudi */
.fam-box__close {
  position: absolute;
  top: 6px;
  right: 10px;
  width: 40px;
  height: 40px;
  font-size: 30px;
  line-height: 40px;
  color: #888;
  transition: color .2s;
}
.fam-box__close:hover { color: var(--c-accent); }

/* Frecce famiglia precedente / successiva */
.fam-box__nav {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 64px;
  margin-top: -32px;
  color: #999;
  transition: color .2s;
}
.fam-box__nav::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 14px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}
.fam-box__nav--prev { left: 4px; }
.fam-box__nav--next { right: 4px; }
.fam-box__nav--prev::before { transform: translate(-30%, -50%) rotate(-45deg); }
.fam-box__nav--next::before { transform: translate(-70%, -50%) rotate(135deg); }
.fam-box__nav:hover { color: var(--c-accent); }

/* Telefono ----------------------------------------------------------------- */
@media (max-width: 600px) {
  .fam-box { padding: 16px; }
  .fam-box__card { padding: 24px 36px 26px; aspect-ratio: auto; height: 100%; }   /* telefono: tutta l'altezza disponibile */
  .fam-box__name { font-size: 22px; }
  .fam-box__nav { width: 34px; }
  .dc-sheet { text-align: left; }
  /* sul telefono titolo, invito e freccia hanno una misura minima:
     spazio sopra il titolo = spazio tra la punta della freccia e i pulsanti */
  .hc-intro { padding-top: 17px; margin-bottom: 1px; }   /* colonna stretta: giustificato lascerebbe buchi tra le parole */
}

/* "Riduci movimento": scritta ferma sul primo colore, testo senza battitura */
@media (prefers-reduced-motion: reduce) {
  .hc-logo,
  .hc-logo__shape,
  .hc-bullets-blink,
  .hc-family,
  .hc-family__img,
  .hc-intro__push { animation: none; }
  .typewriter__text::after { display: none; }
}
