/*
 * Cornice by Linceo
 * One shared style for the information pages.
 * Colours, fonts and sizes come from the module settings (CSS variables).
 * The values written here are only the starting values.
 */

.cn-page {
  --cn-box: #faf9f5;
  --cn-card: #fffefb;
  --cn-line: #e8e6dc;
  --cn-text: #141413;
  --cn-text-soft: #3d3d3a;
  --cn-accent: #d97757;
  --cn-accent-deep: #b5552f;
  --cn-accent-soft: #f6e6dd;
  --cn-dark: #141413;
  --cn-dark-text: #faf9f5;
  --cn-btn-bg: #d97757;
  --cn-btn-text: #141413;
  /* Worked out by the module from the colours above, so small text and buttons stay readable. */
  --cn-dark-label: #d97757;
  --cn-btn-line: #d97757;
  /* Bottom box (since 1.0.9). The same names as the top box, see .cn-closing. */
  --cn-end: #141413;
  --cn-end-text: #faf9f5;
  --cn-end-label: #d97757;
  --cn-end-btn-bg: #d97757;
  --cn-end-btn-text: #141413;
  --cn-end-btn-line: #d97757;
  --cn-head: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  --cn-body: inherit;
  --cn-size: 17px;
  --cn-radius: 30px;

  position: relative;
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 0 0 28px;
  padding: clamp(12px, 2.4vw, 28px);
  background: var(--cn-box);
  color: var(--cn-text);
  border-radius: min(var(--cn-radius), max(12px, 2.2vw));
  box-shadow: 0 1px 2px rgba(20, 20, 19, .04), 0 14px 40px -22px rgba(20, 20, 19, .2);
  font-family: var(--cn-body);
  line-height: 1.7;
  letter-spacing: 0;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.cn-page *, .cn-page *::before, .cn-page *::after { box-sizing: border-box; }

/* Base text. The double class wins over the theme's own page rules. */
.cn-page.cn-page p {
  margin: 0 0 18px;
  padding: 0 !important;
  font-family: var(--cn-body);
  font-size: var(--cn-size);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: 0 !important;
  color: var(--cn-text-soft);
  text-align: left;
  background: none;
  border: 0;
}
.cn-page.cn-page p:last-child { margin-bottom: 0; }
.cn-page.cn-page h1,
.cn-page.cn-page h2,
.cn-page.cn-page h3 {
  margin: 0;
  padding: 0;
  font-family: var(--cn-head);
  font-weight: 400;
  letter-spacing: -.015em !important;
  text-transform: none;
  text-align: left;
  color: inherit;
  background: none;
  border: 0;
}
.cn-page.cn-page h1::after, .cn-page.cn-page h2::after, .cn-page.cn-page h3::after { display: none; }
.cn-page.cn-page a {
  color: inherit;
  background: none;
  text-decoration: underline;
  text-decoration-color: var(--cn-accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: color .2s;
}
.cn-page.cn-page a:hover { color: var(--cn-accent-deep); }
.cn-page.cn-page a:focus-visible { outline: 2px solid var(--cn-accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Hero ---------- */
.cn-page .cn-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(32px, 6vw, 86px) clamp(22px, 5.5vw, 76px);
  border-radius: max(0px, min(calc(var(--cn-radius) - 8px), max(10px, 1.8vw)));
  color: var(--cn-dark-text);
  background: var(--cn-dark);
  background:
    radial-gradient(560px 400px at 86% 22%, color-mix(in srgb, var(--cn-accent) 30%, transparent), transparent 62%),
    radial-gradient(420px 300px at -4% 112%, color-mix(in srgb, var(--cn-accent) 14%, transparent), transparent 60%),
    var(--cn-dark);
}
.cn-page .cn-hero-text { flex: 1 1 380px; min-width: 0; }
/* The small title of the top box. The one of the bottom box takes the text colour of the box, as before. */
.cn-page.cn-page .cn-hero .cn-eyebrow { color: var(--cn-dark-label); }
.cn-page.cn-page .cn-eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .2em !important;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cn-accent);
}
.cn-page.cn-page .cn-title {
  max-width: 15ch;
  font-size: clamp(36px, 5.2vw, 70px);
  line-height: 1.04;
  color: var(--cn-dark-text);
  text-wrap: balance;
}
.cn-page.cn-page .cn-hero-copy {
  margin: 26px 0 0;
  max-width: 32em;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
  color: #d1cfc5;
  color: color-mix(in srgb, var(--cn-dark-text) 80%, var(--cn-dark));
}
.cn-page.cn-page .cn-origin {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 34px 0 0;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .16em !important;
  text-transform: uppercase;
  color: #b0aea5;
  color: color-mix(in srgb, var(--cn-dark-text) 62%, var(--cn-dark));
}
.cn-page .cn-origin-line { display: block; flex: 0 0 34px; height: 2px; border-radius: 2px; background: var(--cn-accent); background: var(--cn-dark-label); }

/* Gem and cabochon, drawn with code. They follow the accent colour. */
.cn-page .cn-gems {
  position: relative;
  flex: 0 0 auto;
  width: clamp(150px, 20vw, 270px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  font-size: 0;
  line-height: 0;
  filter: drop-shadow(0 28px 42px rgba(217, 119, 87, .34));
  filter: drop-shadow(0 28px 42px color-mix(in srgb, var(--cn-accent) 34%, transparent));
  /* The small title colour: the accent on most boxes, darker when the box itself is orange. */
  filter: drop-shadow(0 28px 42px color-mix(in srgb, var(--cn-dark-label) 34%, transparent));
}
.cn-page .cn-gem,
.cn-page .cn-gem-ring,
.cn-page .cn-gem-table,
.cn-page .cn-ico-gem,
.cn-page .cn-ico-gem::before {
  clip-path: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%);
}
.cn-page .cn-gem {
  position: absolute;
  top: 0;
  right: 0;
  width: 84%;
  height: 84%;
  background: conic-gradient(from -22.5deg, #f3bca4 0 45deg, #d97757 45deg 90deg, #eca287 90deg 135deg, #c15f3c 135deg 180deg, #e8916f 180deg 225deg, #a94f2c 225deg 270deg, #e1886a 270deg 315deg, #cd6a49 315deg 360deg);
  background: conic-gradient(from -22.5deg,
    color-mix(in srgb, var(--cn-accent), #fff 45%) 0 45deg,
    var(--cn-accent) 45deg 90deg,
    color-mix(in srgb, var(--cn-accent), #fff 25%) 90deg 135deg,
    color-mix(in srgb, var(--cn-accent), #000 12%) 135deg 180deg,
    color-mix(in srgb, var(--cn-accent), #fff 12%) 180deg 225deg,
    color-mix(in srgb, var(--cn-accent), #000 24%) 225deg 270deg,
    color-mix(in srgb, var(--cn-accent), #fff 8%) 270deg 315deg,
    color-mix(in srgb, var(--cn-accent), #000 6%) 315deg 360deg);
}
.cn-page .cn-gem-ring {
  position: absolute;
  top: 23.5%;
  left: 23.5%;
  right: 23.5%;
  bottom: 23.5%;
  opacity: .5;
  background: #9c4526;
  background: color-mix(in srgb, var(--cn-accent), #000 45%);
}
.cn-page .cn-gem-table {
  position: absolute;
  top: 26%;
  left: 26%;
  right: 26%;
  bottom: 26%;
  overflow: hidden;
  background: linear-gradient(150deg, #fdebe2 0%, #f6cdb9 46%, #eaa488 100%);
  background: linear-gradient(150deg,
    color-mix(in srgb, var(--cn-accent), #fff 86%) 0%,
    color-mix(in srgb, var(--cn-accent), #fff 62%) 46%,
    color-mix(in srgb, var(--cn-accent), #fff 32%) 100%);
}
.cn-page .cn-gem-table::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -20%;
  right: -20%;
  bottom: -20%;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .72) 50%, transparent 62%);
  transform: translateX(-120%);
  animation: cnShine 7s ease-in-out infinite;
}
@keyframes cnShine {
  0%, 58% { transform: translateX(-120%); }
  88%, 100% { transform: translateX(120%); }
}
/* Second stone: an emerald (step) cut, drawn with code (since 1.0.3, in place of the round cabochon). */
.cn-page .cn-cab {
  position: absolute;
  left: 2%;
  bottom: 0;
  width: 40%;
  aspect-ratio: 3 / 4;
  border-radius: 0;
  box-shadow: none;
  transform: rotate(-14deg);
  clip-path: polygon(20% 0, 80% 0, 100% 15%, 100% 85%, 80% 100%, 20% 100%, 0 85%, 0 15%);
  background: #c96a47;
  background: linear-gradient(155deg,
    color-mix(in srgb, var(--cn-accent), #fff 40%) 0%,
    var(--cn-accent) 42%,
    color-mix(in srgb, var(--cn-accent), #000 32%) 100%);
}
.cn-page .cn-cab::before,
.cn-page .cn-cab::after {
  content: "";
  position: absolute;
}
.cn-page .cn-cab::before {
  top: 10%;
  bottom: 10%;
  left: 13.3%;
  right: 13.3%;
  clip-path: polygon(19% 0, 81% 0, 100% 13%, 100% 87%, 81% 100%, 19% 100%, 0 87%, 0 13%);
  background: #b85a39;
  background: linear-gradient(335deg,
    color-mix(in srgb, var(--cn-accent), #fff 30%) 0%,
    var(--cn-accent) 46%,
    color-mix(in srgb, var(--cn-accent), #000 24%) 100%);
}
.cn-page .cn-cab::after {
  top: 21%;
  bottom: 21%;
  left: 28%;
  right: 28%;
  clip-path: polygon(18% 0, 82% 0, 100% 11%, 100% 89%, 82% 100%, 18% 100%, 0 89%, 0 11%);
  background: #f3c9b6;
  background: linear-gradient(150deg,
    color-mix(in srgb, var(--cn-accent), #fff 86%) 0%,
    color-mix(in srgb, var(--cn-accent), #fff 58%) 52%,
    color-mix(in srgb, var(--cn-accent), #fff 32%) 100%);
}

/* ---------- Sections ---------- */
.cn-page .cn-section {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 4vw, 64px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 78px) clamp(4px, 3.4vw, 52px);
}
.cn-page .cn-label {
  flex: 1 1 170px;
  max-width: 250px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cn-accent-deep);
}
.cn-page .cn-num {
  font-family: var(--cn-head);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--cn-accent);
}
.cn-page .cn-body { flex: 999 1 380px; min-width: 0; max-width: 700px; }
.cn-page.cn-page .cn-intro {
  margin: 0 0 22px;
  font-family: var(--cn-head);
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.38;
  color: var(--cn-text);
}
.cn-page.cn-page .cn-body h2 {
  margin: 0 0 26px;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.08;
  color: var(--cn-text);
}
.cn-page .cn-sep {
  height: 1px;
  width: calc(100% - 2 * clamp(4px, 3.4vw, 52px));
  max-width: 1076px;
  margin: 0 auto;
  background: var(--cn-line);
}

/* ---------- Quote and note ---------- */
.cn-page .cn-quote {
  position: relative;
  margin: 30px 0;
  padding: 26px 28px 26px 58px;
  border-radius: 16px;
  background: var(--cn-accent-soft);
  font-family: var(--cn-head);
  font-size: clamp(18px, 1.9vw, 23px);
  line-height: 1.5;
  color: var(--cn-text);
}
.cn-page .cn-quote::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 36px;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: var(--cn-accent);
  transform: rotate(45deg);
}
.cn-page .cn-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  border: 1px solid var(--cn-line);
  border-radius: 16px;
  background: var(--cn-card);
}
.cn-page .cn-note::before {
  content: "";
  flex: 0 0 9px;
  height: 9px;
  margin-top: 9px;
  border-radius: 2px;
  background: var(--cn-accent);
  transform: rotate(45deg);
}
.cn-page.cn-page .cn-note p { margin: 0; font-size: calc(var(--cn-size) - 1px); }

/* ---------- Chips ---------- */
.cn-page.cn-page .cn-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none !important;
}
.cn-page.cn-page .cn-chips li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 9px 16px;
  border: 1px solid var(--cn-line);
  border-radius: 10px;
  background: var(--cn-card);
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0 !important;
  color: var(--cn-text-soft);
  list-style: none !important;
}
.cn-page.cn-page .cn-chips li::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin: 0;
  border-radius: 2px;
  background: var(--cn-accent);
  transform: rotate(45deg);
}

/* ---------- Cards ---------- */
.cn-page .cn-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.cn-page .cn-card {
  position: relative;
  padding: 28px 28px 30px;
  border: 1px solid var(--cn-line);
  border-radius: 22px;
  background: var(--cn-card);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cn-page .cn-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--cn-accent) 30%, var(--cn-line));
  box-shadow: 0 20px 40px -24px rgba(20, 20, 19, .38);
}
.cn-page .cn-card-title {
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cn-accent-deep);
}
.cn-page.cn-page .cn-card-title a { text-decoration: none; color: inherit; }
.cn-page.cn-page .cn-card p { margin: 0; font-size: calc(var(--cn-size) - 1px); }
.cn-page .cn-ico {
  position: relative;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  font-size: 0;
  line-height: 0;
}
.cn-page .cn-ico-gem {
  background: conic-gradient(from -22.5deg, #f3bca4 0 45deg, #d97757 45deg 90deg, #eca287 90deg 135deg, #c15f3c 135deg 180deg, #e8916f 180deg 225deg, #a94f2c 225deg 270deg, #e1886a 270deg 315deg, #cd6a49 315deg 360deg);
  background: conic-gradient(from -22.5deg,
    color-mix(in srgb, var(--cn-accent), #fff 45%) 0 45deg,
    var(--cn-accent) 45deg 90deg,
    color-mix(in srgb, var(--cn-accent), #fff 25%) 90deg 135deg,
    color-mix(in srgb, var(--cn-accent), #000 12%) 135deg 180deg,
    color-mix(in srgb, var(--cn-accent), #fff 12%) 180deg 225deg,
    color-mix(in srgb, var(--cn-accent), #000 24%) 225deg 270deg,
    color-mix(in srgb, var(--cn-accent), #fff 8%) 270deg 315deg,
    color-mix(in srgb, var(--cn-accent), #000 6%) 315deg 360deg);
}
.cn-page .cn-ico-gem::before {
  content: "";
  position: absolute;
  top: 27%;
  left: 27%;
  right: 27%;
  bottom: 27%;
  background: linear-gradient(150deg, #fdebe2, #eaa488);
  background: linear-gradient(150deg, color-mix(in srgb, var(--cn-accent), #fff 86%), color-mix(in srgb, var(--cn-accent), #fff 32%));
}
.cn-page .cn-ico-beads {
  background:
    radial-gradient(circle at 24% 66%, #fff3ec 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 50% 32%, #fff3ec 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 76% 66%, #fff3ec 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 24% 66%, color-mix(in srgb, var(--cn-accent), #fff 25%) 0 7px, transparent 7.6px),
    radial-gradient(circle at 50% 32%, var(--cn-accent) 0 8.5px, transparent 9px),
    radial-gradient(circle at 76% 66%, var(--cn-accent-deep) 0 7px, transparent 7.6px);
}

/* ---------- Full-width rows (since 1.0.2) ----------
   A block with cn-wide, placed inside a section after the label and the heading,
   takes the whole width of the section on its own line.
   cn-four and cn-three set how many cards share one line on a computer.
   Tablets show two (cn-four) or three (cn-three), phones always show one. */
.cn-page .cn-section > .cn-body:not(:last-child) > :last-child { margin-bottom: 0; }
.cn-page .cn-section > .cn-wide {
  flex: 1 1 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: calc(34px - clamp(14px, 4vw, 64px));
}
.cn-page .cn-cards.cn-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cn-page .cn-cards.cn-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1199px) {
  .cn-page .cn-cards.cn-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .cn-page .cn-cards.cn-three { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
  .cn-page .cn-cards.cn-four { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Line icons (since 1.0.3) ----------
   A small drawn icon inside a soft round badge, in the accent colours.
   cn-ico-pct (discounts), cn-ico-star (priority), cn-ico-calibre (calibrated, in quantity),
   cn-ico-misura (made to measure), cn-ico-gemma (a cut stone, since 1.0.4). */
.cn-page .cn-ico-pct,
.cn-page .cn-ico-star,
.cn-page .cn-ico-calibre,
.cn-page .cn-ico-misura,
.cn-page .cn-ico-gemma {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cn-accent-soft);
}
@supports ((-webkit-mask-image: none) or (mask-image: none)) {
  .cn-page .cn-ico-pct::before,
  .cn-page .cn-ico-star::before,
  .cn-page .cn-ico-calibre::before,
  .cn-page .cn-ico-misura::before,
  .cn-page .cn-ico-gemma::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: var(--cn-accent-deep);
    -webkit-mask: var(--cn-ico) center / contain no-repeat;
    mask: var(--cn-ico) center / contain no-repeat;
  }
}
.cn-page .cn-ico-pct { --cn-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 17.5l11-11'/%3E%3Ccircle cx='7.5' cy='7.5' r='2.2'/%3E%3Ccircle cx='16.5' cy='16.5' r='2.2'/%3E%3C/svg%3E"); }
.cn-page .cn-ico-star { --cn-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.3l2.6 5.4 5.9.8-4.3 4.1 1 5.9L12 16.7l-5.2 2.8 1-5.9-4.3-4.1 5.9-.8z'/%3E%3C/svg%3E"); }
.cn-page .cn-ico-calibre { --cn-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5' cy='9' r='2.3'/%3E%3Ccircle cx='12' cy='9' r='2.3'/%3E%3Ccircle cx='19' cy='9' r='2.3'/%3E%3Cpath d='M3 17h18M3 15v4M21 15v4'/%3E%3C/svg%3E"); }
.cn-page .cn-ico-misura { --cn-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5.2' r='1.7'/%3E%3Cpath d='M12 3.5V2'/%3E%3Cpath d='M11.1 6.7L6.2 20'/%3E%3Cpath d='M12.9 6.7L17.8 20'/%3E%3Cpath d='M5.2 15.6c4.3 2.1 9.3 2.1 13.6 0'/%3E%3C/svg%3E"); }
.cn-page .cn-ico-gemma { --cn-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 4h11l4 5.2L12 20.5 2.5 9.2z'/%3E%3Cpath d='M2.5 9.2h19'/%3E%3Cpath d='M9.2 4L8 9.2l4 11.3 4-11.3L14.8 4'/%3E%3C/svg%3E"); }

/* ---------- Journey steps (since 1.0.3) ----------
   A ring with the step number. The ring fills a third at each step,
   and the last step is a full, coloured circle: the journey is complete. */
.cn-page .cn-step {
  --cn-fill: 33.4%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--cn-line);
  background: conic-gradient(var(--cn-accent) var(--cn-fill), var(--cn-line) 0);
  font-family: var(--cn-head);
  font-size: 21px;
  line-height: 1;
  color: var(--cn-accent-deep);
}
.cn-page .cn-step::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border-radius: 50%;
  background: var(--cn-card);
}
.cn-page .cn-step > span { position: relative; }
.cn-page .cn-step-2 { --cn-fill: 66.7%; }
.cn-page .cn-step-3 { --cn-fill: 100%; color: var(--cn-dark-text); }
.cn-page .cn-step-3::before { background: var(--cn-accent); }

/* ---------- Centred cards and footnote (since 1.0.4) ----------
   Everything inside a card sits in the middle: icon, step circle, title and text.
   cn-footnote is a small line under a row of cards, for a note marked with a star. */
.cn-page .cn-card { text-align: center; }
.cn-page.cn-page .cn-card p { text-align: center; }
.cn-page .cn-card .cn-ico,
.cn-page .cn-card .cn-step {
  margin-left: auto;
  margin-right: auto;
}
.cn-page.cn-page .cn-footnote {
  font-size: 14px;
  line-height: 1.6;
  color: var(--cn-text-soft);
  text-align: center;
}
.cn-page .cn-section > .cn-footnote.cn-wide { margin-top: calc(22px - clamp(14px, 4vw, 64px)); }

/* ---------- Photos (since 1.0.5) ----------
   cn-photo holds one picture from the shop, square with rounded corners.
   In the hero it takes the place of the drawn stones. In a card it sits on top, edge to edge. */
.cn-page .cn-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background: var(--cn-dark);
}
.cn-page.cn-page .cn-photo a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.cn-page .cn-photo img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: cover;
  transition: transform .5s;
}
.cn-page .cn-photo:hover img { transform: scale(1.04); }
.cn-page .cn-hero .cn-photo {
  flex: 0 0 auto;
  width: clamp(200px, 26vw, 380px);
  margin: 0 auto;
  border-radius: max(10px, min(calc(var(--cn-radius) - 10px), 24px));
  box-shadow: 0 24px 48px -26px rgba(20, 20, 19, .5);
}
.cn-page .cn-card .cn-photo {
  margin: -28px -28px 20px;
  border-radius: 21px 21px 0 0;
}

/* ---------- Index of pages (since 1.0.6) ----------
   A list of links, each with a small round photo, for a page that leads to many others.
   Use it as <ul class="cn-index cn-wide"> inside a section, after the label and the text. */
.cn-page.cn-page .cn-index {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none !important;
}
.cn-page.cn-page .cn-index li {
  margin: 0;
  padding: 0;
  list-style: none !important;
}
.cn-page.cn-page .cn-index li::before, .cn-page.cn-page .cn-index li::marker { content: none; display: none; }
.cn-page.cn-page .cn-index a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 10px 16px 10px 10px;
  border: 1px solid var(--cn-line);
  border-radius: 14px;
  background: var(--cn-card);
  color: var(--cn-text);
  font-size: calc(var(--cn-size) - 1px);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.cn-page.cn-page .cn-index a:hover {
  border-color: var(--cn-accent);
  color: var(--cn-text);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -18px rgba(20, 20, 19, .45);
}
.cn-page .cn-index .cn-index-photo {
  flex: 0 0 56px;
  display: block;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--cn-dark);
}
.cn-page .cn-index img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: cover;
  transform: scale(1.35);
}
.cn-page .cn-index span { min-width: 0; }
@media (max-width: 599px) {
  .cn-page.cn-page .cn-index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cn-page.cn-page .cn-index a { flex-direction: column; justify-content: flex-start; gap: 8px; padding: 14px 8px; text-align: center; font-size: 14px; }
  .cn-page .cn-index .cn-index-photo { flex: 0 0 auto; width: 64px; height: 64px; }
}

/* ---------- Closing panel and buttons ----------
   The bottom box has its own colours: inside it, the top box names point to them. */
.cn-page .cn-closing {
  --cn-dark: var(--cn-end);
  --cn-dark-text: var(--cn-end-text);
  --cn-dark-label: var(--cn-end-label);
  --cn-btn-bg: var(--cn-end-btn-bg);
  --cn-btn-text: var(--cn-end-btn-text);
  --cn-btn-line: var(--cn-end-btn-line);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(10px, 2vw, 20px);
  padding: clamp(34px, 5.5vw, 74px) clamp(22px, 5.5vw, 76px);
  border-radius: max(0px, min(calc(var(--cn-radius) - 8px), max(10px, 1.8vw)));
  color: var(--cn-dark-text);
  background: var(--cn-dark);
  background:
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--cn-dark-text) 4%, transparent) 0 1px, transparent 1px 22px),
    radial-gradient(480px 320px at 100% 0%, color-mix(in srgb, var(--cn-accent) 24%, transparent), transparent 65%),
    var(--cn-dark);
}
.cn-page .cn-closing-main { flex: 1 1 340px; min-width: 0; }
.cn-page .cn-closing-side { flex: 1 1 300px; min-width: 0; }
.cn-page.cn-page .cn-closing h2 {
  max-width: 16ch;
  font-size: clamp(28px, 3.7vw, 50px);
  line-height: 1.08;
  color: var(--cn-dark-text);
}
.cn-page.cn-page .cn-closing p {
  font-size: calc(var(--cn-size) - 1px);
  color: #d1cfc5;
  color: color-mix(in srgb, var(--cn-dark-text) 80%, var(--cn-dark));
}
.cn-page .cn-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.cn-page.cn-page .cn-btn {
  flex: 1 1 190px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.cn-page .cn-btn span { display: inline-block; transition: transform .2s; }
.cn-page .cn-btn:hover span { transform: translateX(3px); }
.cn-page.cn-page .cn-btn-primary { background: var(--cn-btn-bg); border-color: var(--cn-btn-line); color: var(--cn-btn-text); }
.cn-page.cn-page .cn-btn-primary:hover { background: color-mix(in srgb, var(--cn-btn-bg), #fff 14%); color: var(--cn-btn-text); }
.cn-page.cn-page .cn-btn-ghost { background: transparent; border-color: rgba(250, 249, 245, .34); border-color: color-mix(in srgb, var(--cn-dark-text) 34%, transparent); color: var(--cn-dark-text); }
.cn-page.cn-page .cn-btn-ghost:hover { border-color: var(--cn-dark-label); color: var(--cn-dark-text); }
.cn-page.cn-page .cn-meta {
  margin: 26px 0 0;
  padding: 18px 0 0 !important;
  border-top: 1px solid rgba(250, 249, 245, .14);
  border-top-color: color-mix(in srgb, var(--cn-dark-text) 14%, transparent);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: .02em !important;
  color: #b0aea5;
  color: color-mix(in srgb, var(--cn-dark-text) 62%, var(--cn-dark));
}

@media (prefers-reduced-motion: reduce) {
  .cn-page *, .cn-page *::before, .cn-page *::after { animation: none !important; transition: none !important; }
}

/* ---------- More line icons (since 1.0.11) ----------
   cn-ico-intaglio (carved stone), cn-ico-gioiello (pendant), cn-ico-filo (strand of beads),
   cn-ico-tempo (clock), cn-ico-doc (a written sheet), cn-ico-bracciale (bracelet), cn-ico-orecchino (earring),
   cn-ico-pulizia (cleaning), cn-ico-mondo (Europe), cn-ico-pagamento (payment). Same look as the icons above. */
.cn-page .cn-ico-intaglio,
.cn-page .cn-ico-gioiello,
.cn-page .cn-ico-filo,
.cn-page .cn-ico-tempo,
.cn-page .cn-ico-doc,
.cn-page .cn-ico-bracciale,
.cn-page .cn-ico-orecchino,
.cn-page .cn-ico-pulizia,
.cn-page .cn-ico-mondo,
.cn-page .cn-ico-pagamento {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cn-accent-soft);
}
@supports ((-webkit-mask-image: none) or (mask-image: none)) {
  .cn-page .cn-ico-intaglio::before,
  .cn-page .cn-ico-gioiello::before,
  .cn-page .cn-ico-filo::before,
  .cn-page .cn-ico-tempo::before,
  .cn-page .cn-ico-doc::before,
  .cn-page .cn-ico-bracciale::before,
  .cn-page .cn-ico-orecchino::before,
  .cn-page .cn-ico-pulizia::before,
  .cn-page .cn-ico-mondo::before,
  .cn-page .cn-ico-pagamento::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: var(--cn-accent-deep);
    -webkit-mask: var(--cn-ico) center / contain no-repeat;
    mask: var(--cn-ico) center / contain no-repeat;
  }
}
.cn-page .cn-ico-intaglio { --cn-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.8c4.6 0 8 4.1 8 9.2s-3.4 9.2-8 9.2-8-4.1-8-9.2 3.4-9.2 8-9.2z'/%3E%3Cpath d='M8.8 15.6c.1-4.2 2.4-6.8 6.4-7.3-.1 4.2-2.4 6.8-6.4 7.3z'/%3E%3Cpath d='M8.8 15.6l4.4-4.6'/%3E%3C/svg%3E"); }
.cn-page .cn-ico-gioiello { --cn-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.8 3.2c1.8 4.5 4.7 6.9 8.2 7.5 3.5-.6 6.4-3 8.2-7.5'/%3E%3Ccircle cx='12' cy='12.2' r='1.4'/%3E%3Cpath d='M12 13.8c2.3 2.3 3.5 4 3.5 5.3a3.5 3.5 0 0 1-7 0c0-1.3 1.2-3 3.5-5.3z'/%3E%3C/svg%3E"); }
.cn-page .cn-ico-filo { --cn-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5.5c1.6 8.6 16.4 8.6 18 0'/%3E%3Ccircle cx='6.6' cy='10.3' r='2'/%3E%3Ccircle cx='12' cy='12.1' r='2'/%3E%3Ccircle cx='17.4' cy='10.3' r='2'/%3E%3C/svg%3E"); }
.cn-page .cn-ico-tempo { --cn-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.6'/%3E%3Cpath d='M12 7.2V12l3.2 2.1'/%3E%3C/svg%3E"); }
.cn-page .cn-ico-doc { --cn-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7.5A1.5 1.5 0 0 0 6 4.5v15A1.5 1.5 0 0 0 7.5 21h9a1.5 1.5 0 0 0 1.5-1.5V7z'/%3E%3Cpath d='M14 3v4h4'/%3E%3Cpath d='M9 11.5h6M9 15h6M9 8h2.5'/%3E%3C/svg%3E"); }
.cn-page .cn-ico-bracciale { --cn-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='6.8'/%3E%3Ccircle cx='12' cy='4.6' r='1.9'/%3E%3Ccircle cx='17.2' cy='6.8' r='1.9'/%3E%3Ccircle cx='19.4' cy='12' r='1.9'/%3E%3Ccircle cx='17.2' cy='17.2' r='1.9'/%3E%3Ccircle cx='12' cy='19.4' r='1.9'/%3E%3Ccircle cx='6.8' cy='17.2' r='1.9'/%3E%3Ccircle cx='4.6' cy='12' r='1.9'/%3E%3Ccircle cx='6.8' cy='6.8' r='1.9'/%3E%3C/svg%3E"); }
.cn-page .cn-ico-orecchino { --cn-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 7.2a3.2 3.2 0 1 1 5 2.6c-1.4.9-2.5 1.9-2.5 3.6'/%3E%3Ccircle cx='12' cy='14.8' r='1.3'/%3E%3Cpath d='M12 16.4c2 2 3 3.4 3 4.4a3 3 0 0 1-6 0c0-1 1-2.4 3-4.4z'/%3E%3C/svg%3E"); }
.cn-page .cn-ico-pulizia { --cn-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 3.5l1.6 4.6 4.6 1.6-4.6 1.6L10 15.9l-1.6-4.6-4.6-1.6 4.6-1.6z'/%3E%3Cpath d='M17.5 13.5l.9 2.4 2.4.9-2.4.9-.9 2.4-.9-2.4-2.4-.9 2.4-.9z'/%3E%3C/svg%3E"); }
.cn-page .cn-ico-mondo { --cn-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.8'/%3E%3Cpath d='M3.2 12h17.6'/%3E%3Cpath d='M12 3.2c2.4 2.4 3.6 5.3 3.6 8.8s-1.2 6.4-3.6 8.8c-2.4-2.4-3.6-5.3-3.6-8.8s1.2-6.4 3.6-8.8z'/%3E%3C/svg%3E"); }
.cn-page .cn-ico-pagamento { --cn-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2.2'/%3E%3Cpath d='M3 9.8h18M6.5 14.8h4'/%3E%3C/svg%3E"); }

/* ---------- Drawn picture for the top box (since 1.0.11) ----------
   cn-art-idea: a person with a lit bulb above the head (Su misura).
   cn-art-collana: a broken necklace, fallen beads, a needle and thread (repairs).
   It takes the place of the drawn stones. The main drawing follows the text colour of the box,
   the accent drawing the small title colour. */
.cn-page .cn-art {
  position: relative;
  flex: 0 0 auto;
  width: clamp(170px, 23vw, 300px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  font-size: 0;
  line-height: 0;
}
.cn-page .cn-art > div { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: none; }
.cn-page .cn-art .cn-art-glow {
  display: block;
  background: radial-gradient(circle at 50% 27%, rgba(217, 119, 87, .45) 0, transparent 31%);
  background: radial-gradient(circle at 50% 27%, color-mix(in srgb, var(--cn-dark-label) 46%, transparent) 0, transparent 31%);
}
@supports ((-webkit-mask-image: none) or (mask-image: none)) {
  .cn-page .cn-art .cn-art-fill,
  .cn-page .cn-art .cn-art-accent,
  .cn-page .cn-art .cn-art-main {
    display: block;
    -webkit-mask: var(--cn-m) center / contain no-repeat;
    mask: var(--cn-m) center / contain no-repeat;
  }
  .cn-page .cn-art .cn-art-fill { background: var(--cn-card); }
  .cn-page .cn-art .cn-art-accent { background: var(--cn-dark-label); }
  .cn-page .cn-art .cn-art-main { background: var(--cn-dark-text); opacity: .82; }
  .cn-page .cn-art-idea .cn-art-fill { --cn-m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='black' stroke='black' stroke-width='4' stroke-linejoin='round'%3E%3Cpath d='M89 69c-5.2-4.4-8.2-10.3-8.2-16.8 0-11.3 8.6-20.4 19.2-20.4s19.2 9.1 19.2 20.4c0 6.5-3 12.4-8.2 16.8-2 1.7-2.8 3.6-2.8 5.9v2.4H91.8v-2.4c0-2.3-.8-4.2-2.8-5.9z'/%3E%3C/svg%3E"); }
  .cn-page .cn-art-idea .cn-art-accent { --cn-m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M89 69c-5.2-4.4-8.2-10.3-8.2-16.8 0-11.3 8.6-20.4 19.2-20.4s19.2 9.1 19.2 20.4c0 6.5-3 12.4-8.2 16.8-2 1.7-2.8 3.6-2.8 5.9v2.4H91.8v-2.4c0-2.3-.8-4.2-2.8-5.9z'/%3E%3Cpath d='M92.5 83.5h15M95 89h10'/%3E%3Cpath d='M94.4 68v-6.6c0-3.7 2.4-6.2 5.6-6.2s5.6 2.5 5.6 6.2V68'/%3E%3Cpath d='M100 8v10M66.5 20.5l7 7M133.5 20.5l-7 7M52 52h10M138 52h10'/%3E%3C/svg%3E"); }
  .cn-page .cn-art-idea .cn-art-main { --cn-m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='100' cy='124' r='23'/%3E%3Cpath d='M50 197c3.2-29.6 23.6-46 50-46s46.8 16.4 50 46'/%3E%3C/svg%3E"); }
  .cn-page .cn-art-collana .cn-art-fill { --cn-m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='black' stroke='black' stroke-width='4' stroke-linejoin='round'%3E%3Ccircle cx='33.5' cy='56' r='10'/%3E%3Ccircle cx='43' cy='80' r='10'/%3E%3Ccircle cx='58' cy='99' r='10'/%3E%3Ccircle cx='77' cy='112' r='10'/%3E%3Ccircle cx='98' cy='117.5' r='10'/%3E%3Ccircle cx='168' cy='54' r='10'/%3E%3Ccircle cx='161' cy='76' r='10'/%3E%3Ccircle cx='150' cy='93' r='10'/%3E%3Ccircle cx='121' cy='150' r='10'/%3E%3Ccircle cx='146' cy='166' r='10'/%3E%3Ccircle cx='100' cy='174' r='10'/%3E%3C/svg%3E"); }
  .cn-page .cn-art-collana .cn-art-accent { --cn-m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='121' cy='150' r='10'/%3E%3Ccircle cx='146' cy='166' r='10'/%3E%3Ccircle cx='100' cy='174' r='10'/%3E%3Cpath d='M108 106l50-50'/%3E%3Cpath d='M150.5 58.5c1.6-1.6 4.2-1.6 5.8 0s1.6 4.2 0 5.8'/%3E%3Cpath d='M156 62c8 2 14 9 10 16-4 6-12 4-14 10-1.6 5 3 9 8 9'/%3E%3C/svg%3E"); }
  .cn-page .cn-art-collana .cn-art-main { --cn-m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30 30c4 52 38 86 78 88'/%3E%3Cpath d='M170 30c-2 30-10 52-24 66'/%3E%3Ccircle cx='33.5' cy='56' r='10'/%3E%3Ccircle cx='43' cy='80' r='10'/%3E%3Ccircle cx='58' cy='99' r='10'/%3E%3Ccircle cx='77' cy='112' r='10'/%3E%3Ccircle cx='98' cy='117.5' r='10'/%3E%3Ccircle cx='168' cy='54' r='10'/%3E%3Ccircle cx='161' cy='76' r='10'/%3E%3Ccircle cx='150' cy='93' r='10'/%3E%3C/svg%3E"); }
}

/* ---------- Illustrated journey (since 1.0.11) ----------
   <ol class="cn-journey cn-wide"> inside a section. Each step: a drawn picture in a soft circle
   with its number, a small title and one sentence. Dashed lines join the steps.
   Computer: three steps per line. Tablet: two. Phone: one under the other, picture on the left. */
.cn-page.cn-page .cn-journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px 20px;
  margin: 0;
  padding: 0;
  list-style: none !important;
}
.cn-page.cn-page .cn-journey > li {
  position: relative;
  margin: 0;
  padding: 0 6px;
  list-style: none !important;
  text-align: center;
}
.cn-page.cn-page .cn-journey > li::marker { content: none; }
.cn-page.cn-page .cn-journey > li::before { content: none; display: none; }
.cn-page.cn-page .cn-journey > li::after {
  content: "";
  position: absolute;
  top: 58px;
  left: calc(50% + 66px);
  width: calc(100% - 112px);
  height: 0;
  border-top: 2px dashed rgba(217, 119, 87, .55);
  border-top-color: color-mix(in srgb, var(--cn-accent) 55%, transparent);
}
.cn-page.cn-page .cn-journey > li:nth-child(3n)::after,
.cn-page.cn-page .cn-journey > li:last-child::after { display: none; }
.cn-page .cn-jart {
  position: relative;
  width: 116px;
  height: 116px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--cn-accent-soft);
  font-size: 0;
  line-height: 0;
}
@supports ((-webkit-mask-image: none) or (mask-image: none)) {
  .cn-page .cn-jart::before,
  .cn-page .cn-jart::after {
    content: "";
    position: absolute;
    top: 17%;
    left: 17%;
    right: 17%;
    bottom: 17%;
  }
  .cn-page .cn-jart::before {
    background: var(--cn-card);
    -webkit-mask: var(--cn-jfill) center / contain no-repeat;
    mask: var(--cn-jfill) center / contain no-repeat;
  }
  .cn-page .cn-jart::after {
    background: var(--cn-accent-deep);
    -webkit-mask: var(--cn-jline) center / contain no-repeat;
    mask: var(--cn-jline) center / contain no-repeat;
  }
}
.cn-page .cn-jnum {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cn-accent);
  box-shadow: 0 0 0 4px var(--cn-box);
  font-family: var(--cn-head);
  font-size: 17px;
  line-height: 1;
  color: var(--cn-btn-text);
}
.cn-page.cn-page .cn-journey .cn-card-title { margin-bottom: 8px; }
.cn-page.cn-page .cn-journey p {
  margin: 0 auto;
  max-width: 30ch;
  font-size: calc(var(--cn-size) - 1px);
  text-align: center;
}
.cn-page .cn-jart-idea { --cn-jline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24.8 39.2c-3.5-3.1-5.6-7.3-5.6-11.9C19.2 19.9 25 14 32 14s12.8 5.9 12.8 13.3c0 4.6-2.1 8.8-5.6 11.9-1.3 1.2-1.9 2.5-1.9 4.1V45H26.7v-1.7c0-1.6-.6-2.9-1.9-4.1z'/%3E%3Cpath d='M27 49.5h10M28.5 54h7'/%3E%3Cpath d='M28.8 38v-4c0-2.3 1.4-3.8 3.2-3.8s3.2 1.5 3.2 3.8v4'/%3E%3Cpath d='M32 4.5v4.2M13.6 11.4l3 3M50.4 11.4l-3 3M7 27.5h4.2M52.8 27.5H57'/%3E%3C/svg%3E"); --cn-jfill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='black' stroke='black' stroke-width='2.3' stroke-linejoin='round'%3E%3Cpath d='M24.8 39.2c-3.5-3.1-5.6-7.3-5.6-11.9C19.2 19.9 25 14 32 14s12.8 5.9 12.8 13.3c0 4.6-2.1 8.8-5.6 11.9-1.3 1.2-1.9 2.5-1.9 4.1V45H26.7v-1.7c0-1.6-.6-2.9-1.9-4.1z'/%3E%3C/svg%3E"); }
.cn-page .cn-jart-schizzo { --cn-jline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 8h21l9 9v34a2 2 0 0 1-2 2H14a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2z'/%3E%3Cpath d='M35 8v9h9'/%3E%3Cpath d='M19.5 29.5l3.2-5h9.6l3.2 5-8 10z'/%3E%3Cpath d='M19.5 29.5h16M25.5 24.5l2 5 2-5'/%3E%3Cpath d='M41 55.5l1.2-6.3 12.6-12.6 5.1 5.1-12.6 12.6z'/%3E%3Cpath d='M50.6 40.8l5.1 5.1'/%3E%3C/svg%3E"); --cn-jfill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='black' stroke='black' stroke-width='2.3' stroke-linejoin='round'%3E%3Cpath d='M14 8h21l9 9v34a2 2 0 0 1-2 2H14a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2z'/%3E%3Cpath d='M41 55.5l1.2-6.3 12.6-12.6 5.1 5.1-12.6 12.6z'/%3E%3C/svg%3E"); }
.cn-page .cn-jart-parliamo { --cn-jline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 8h26a4 4 0 0 1 4 4v13a4 4 0 0 1-4 4H19l-7 6v-6H9a4 4 0 0 1-4-4V12a4 4 0 0 1 4-4z'/%3E%3Ccircle cx='15' cy='18.5' r='1.3'/%3E%3Ccircle cx='22' cy='18.5' r='1.3'/%3E%3Ccircle cx='29' cy='18.5' r='1.3'/%3E%3Cpath d='M29 34h26a4 4 0 0 1 4 4v11a4 4 0 0 1-4 4h-3v6l-7-6H29a4 4 0 0 1-4-4V38a4 4 0 0 1 4-4z'/%3E%3Cpath d='M31 42.5h20M31 47.5h13'/%3E%3C/svg%3E"); --cn-jfill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='black' stroke='black' stroke-width='2.3' stroke-linejoin='round'%3E%3Cpath d='M9 8h26a4 4 0 0 1 4 4v13a4 4 0 0 1-4 4H19l-7 6v-6H9a4 4 0 0 1-4-4V12a4 4 0 0 1 4-4z'/%3E%3Cpath d='M29 34h26a4 4 0 0 1 4 4v11a4 4 0 0 1-4 4h-3v6l-7-6H29a4 4 0 0 1-4-4V38a4 4 0 0 1 4-4z'/%3E%3C/svg%3E"); }
.cn-page .cn-jart-volo { --cn-jline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M44 22C47 18 53 19 53.5 23L58 25.5 53 26.5C52 32 48 37 40 40 33 42.5 24 43 16 45L7 48l4-6.5C17 38.5 24 36 30 33c5-2.5 9-6 14-11z'/%3E%3Cpath d='M30.5 32.5C28 22.5 23.5 13.8 17.5 7.5c10 1.8 18.6 8.6 22.7 19.3'/%3E%3Cpath d='M37.6 25.8c.8-7.4 3.6-13.6 8.4-18.3 1.8 6.2 1 12.2-2.3 16.8'/%3E%3Cpath d='M22 43.4c3-2.4 6.6-3.9 10.8-4.6'/%3E%3Ccircle cx='49' cy='23.2' r='.9' fill='black'/%3E%3Cpath d='M52.4 29l9-2.4 1.8 6.8-9 2.4z'/%3E%3Cpath d='M52.4 29l5.6 3.6 3.4-6'/%3E%3C/svg%3E"); --cn-jfill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='black' stroke='black' stroke-width='2.3' stroke-linejoin='round'%3E%3Cpath d='M44 22C47 18 53 19 53.5 23L58 25.5 53 26.5C52 32 48 37 40 40 33 42.5 24 43 16 45L7 48l4-6.5C17 38.5 24 36 30 33c5-2.5 9-6 14-11z'/%3E%3Cpath d='M30.5 32.5C28 22.5 23.5 13.8 17.5 7.5c10 1.8 18.6 8.6 22.7 19.3z'/%3E%3Cpath d='M37.6 25.8c.8-7.4 3.6-13.6 8.4-18.3 1.8 6.2 1 12.2-2.3 16.8z'/%3E%3Cpath d='M52.4 29l9-2.4 1.8 6.8-9 2.4z'/%3E%3C/svg%3E"); }
.cn-page .cn-jart-accordo { --cn-jline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 6h23l9 9v41a2 2 0 0 1-2 2H16a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z'/%3E%3Cpath d='M39 6v9h9'/%3E%3Cpath d='M20 20h13M20 26.5h22M20 33h22'/%3E%3Cpath d='M19.5 49c2.4-3.6 4.4-3.6 5.2-.4.7 2.9 2.7 3 4.4.3'/%3E%3Ccircle cx='39.5' cy='47.5' r='6.6'/%3E%3Cpath d='M36.6 47.6l2.1 2.1 3.9-4.2'/%3E%3C/svg%3E"); --cn-jfill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='black' stroke='black' stroke-width='2.3' stroke-linejoin='round'%3E%3Cpath d='M16 6h23l9 9v41a2 2 0 0 1-2 2H16a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.cn-page .cn-jart-pezzo { --cn-jline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 21.5L32 11l22 10.5v22L32 54 10 43.5z'/%3E%3Cpath d='M10 21.5L32 32l22-10.5M32 32v22'/%3E%3Cpath d='M21 16.3l22 10.5v8.4'/%3E%3C/svg%3E"); --cn-jfill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='black' stroke='black' stroke-width='2.3' stroke-linejoin='round'%3E%3Cpath d='M10 21.5L32 11l22 10.5v22L32 54 10 43.5z'/%3E%3C/svg%3E"); }
.cn-page .cn-jart-foto { --cn-jline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='19' y='5' width='26' height='54' rx='5'/%3E%3Cpath d='M28.5 10h7'/%3E%3Ccircle cx='32' cy='53' r='1.6'/%3E%3Cpath d='M23 22c1.2 14 16.8 14 18 0'/%3E%3Ccircle cx='24.6' cy='29.2' r='2.8'/%3E%3Ccircle cx='32' cy='34.4' r='2.8'/%3E%3Ccircle cx='39.4' cy='29.2' r='2.8'/%3E%3C/svg%3E"); --cn-jfill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='black' stroke='black' stroke-width='2.3' stroke-linejoin='round'%3E%3Crect x='19' y='5' width='26' height='54' rx='5'/%3E%3C/svg%3E"); }
.cn-page .cn-jart-lente { --cn-jline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='27' cy='27' r='15'/%3E%3Cpath d='M38 38l15 15'/%3E%3Cpath d='M49.6 49.6l3.6-3.6 6.2 6.2-3.6 3.6z'/%3E%3Cpath d='M17.5 25c2 7 17 7 19 0'/%3E%3Ccircle cx='20.6' cy='29' r='2.4'/%3E%3Ccircle cx='27' cy='31.2' r='2.4'/%3E%3Ccircle cx='33.4' cy='29' r='2.4'/%3E%3C/svg%3E"); --cn-jfill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='black' stroke='black' stroke-width='2.3' stroke-linejoin='round'%3E%3Ccircle cx='27' cy='27' r='15'/%3E%3C/svg%3E"); }
.cn-page .cn-jart-ago { --cn-jline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 50L50 10'/%3E%3Cpath d='M44.5 12.4c1.4-1.4 3.7-1.4 5.1 0s1.4 3.7 0 5.1'/%3E%3Cpath d='M49 16c6 1 8 6 5 10-4 5-14 2-18 8s-1 14-8 18c-6 3.5-12 1-14-3'/%3E%3Ccircle cx='22' cy='38' r='4.4'/%3E%3Ccircle cx='31.5' cy='28.5' r='4.4'/%3E%3Ccircle cx='13' cy='47' r='3.6'/%3E%3C/svg%3E"); --cn-jfill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='black' stroke='black' stroke-width='2.3' stroke-linejoin='round'%3E%3Ccircle cx='22' cy='38' r='4.4'/%3E%3Ccircle cx='31.5' cy='28.5' r='4.4'/%3E%3Ccircle cx='13' cy='47' r='3.6'/%3E%3C/svg%3E"); }
.cn-page .cn-jart-casa { --cn-jline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 29L32 9l24 20'/%3E%3Cpath d='M14 24.5V54a2 2 0 0 0 2 2h32a2 2 0 0 0 2-2V24.5'/%3E%3Cpath d='M32 47.5c-6.5-4.2-9.6-7.6-9.6-11.2 0-2.8 2.1-4.8 4.6-4.8 2 0 3.8 1.2 5 3 1.2-1.8 3-3 5-3 2.5 0 4.6 2 4.6 4.8 0 3.6-3.1 7-9.6 11.2z'/%3E%3C/svg%3E"); --cn-jfill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='black' stroke='black' stroke-width='2.3' stroke-linejoin='round'%3E%3Cpath d='M14 24.5L32 9.5l18 15V54a2 2 0 0 1-2 2H16a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }

@media (max-width: 899px) {
  .cn-page.cn-page .cn-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cn-page.cn-page .cn-journey > li:nth-child(3n)::after { display: block; }
  .cn-page.cn-page .cn-journey > li:nth-child(2n)::after,
  .cn-page.cn-page .cn-journey > li:last-child::after { display: none; }
}
@media (max-width: 599px) {
  .cn-page.cn-page .cn-journey { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .cn-page.cn-page .cn-journey > li {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
    padding: 0;
    text-align: left;
  }
  .cn-page .cn-journey .cn-jart { grid-row: 1 / span 2; width: 84px; height: 84px; margin: 0; }
  .cn-page .cn-journey .cn-jnum { width: 28px; height: 28px; top: -3px; right: -5px; font-size: 15px; }
  .cn-page.cn-page .cn-journey .cn-card-title { margin: 12px 0 6px; text-align: left; }
  .cn-page.cn-page .cn-journey p { max-width: none; margin: 0; text-align: left; }
  .cn-page.cn-page .cn-journey > li::after,
  .cn-page.cn-page .cn-journey > li:nth-child(2n)::after,
  .cn-page.cn-page .cn-journey > li:nth-child(3n)::after {
    display: block;
    top: 92px;
    left: 41px;
    width: 0;
    height: calc(100% - 92px + 26px);
    border-top: 0;
    border-left: 2px dashed rgba(217, 119, 87, .55);
    border-left-color: color-mix(in srgb, var(--cn-accent) 55%, transparent);
  }
  .cn-page.cn-page .cn-journey > li:last-child::after { display: none; }
}
