.article-page {
  --article-paper: #f8f6f0;
  --article-ink: #202535;
  --article-soft: #3c4350;
  --article-accent: #1d5a6c;
  --article-surface: #eef2f2;
  --article-outline: #acbfc3;
  background: var(--article-paper);
  color: var(--article-ink);
  color-scheme: light;
}
.article-page :is(.site-header, .access-dialog, .skip-link) { color-scheme: dark; }
.article-page .skip-link { color: var(--white); }
.zetyk-story[data-tone="green"] { --article-accent: #285747; --article-surface: #ebf0e8; --article-outline: #a9bcb2; }
.zetyk-story[data-tone="rose"] { --article-accent: #783c51; --article-surface: #f5ebef; --article-outline: #d2aebd; }
.zetyk-story[data-tone="ochre"] { --article-accent: #755024; --article-surface: #f5ecdf; --article-outline: #cbb497; }

.zetyk-story .editorial-hero {
  min-height: clamp(310px, 37vw, 495px);
  align-items: center;
  background: var(--article-paper);
}
.zetyk-story .editorial-cover {
  inset: 0 0 0 auto;
  width: 67%;
  object-position: center 48%;
  filter: brightness(1.03) saturate(.92);
  mask-image: linear-gradient(90deg, transparent, #000 26%);
}
.zetyk-story .editorial-hero::after {
  background: linear-gradient(180deg, var(--article-paper), #f8f6f0b8 5%, #f8f6f04d 12%, transparent 23%),
              linear-gradient(90deg, var(--article-paper) 31%, #f8f6f0e8 44%, #f8f6f098 59%, #f8f6f02a 76%, #f8f6f00f 100%),
              linear-gradient(0deg, var(--article-paper), #f8f6f094 16%, transparent 43%);
}
.zetyk-story .editorial-intro { padding-block: clamp(44px, 6vw, 88px); }
.article-page .zetyk-story .editorial-hero h1 {
  color: var(--article-ink);
  max-width: 21ch;
  font-size: clamp(33px, 3.75vw, 54px);
  letter-spacing: -.045em;
  line-height: 1.09;
  text-wrap: balance;
}
.zetyk-story .back-to-news { color: var(--article-accent); margin-bottom: 20px; font-size: .85rem; }
.zetyk-story .back-to-news:hover { text-decoration: underline; text-underline-offset: 4px; }
.zetyk-story[data-story="b2b"] .editorial-cover { object-position: 70% 32%; }
.zetyk-story[data-story="transformacion"] .editorial-cover { object-position: center 40%; }
.zetyk-story[data-story="nomada"] .editorial-cover { object-position: center 30%; }

.zetyk-story .editorial-layout { padding-top: clamp(25px, 4vw, 56px); }
.zetyk-story .editorial-body { color: var(--article-soft); font-size: clamp(16px, 1.7vw, 19px); }
.zetyk-story .editorial-body > p { margin: 0 0 1.2em; line-height: 1.78; }
.zetyk-story .editorial-body > h2 {
  margin: 1.9em 0 .65em;
  color: var(--article-ink);
  font-size: clamp(23px, 2.75vw, 33px);
  line-height: 1.18;
}
.zetyk-story .editorial-body > .story-objective { font-size: clamp(1rem, 1.6vw, 1.1875rem); color: var(--article-ink); }
.zetyk-story .story-objective + h2 { margin-top: 1.3em; }
.zetyk-story .inline-citation, .zetyk-story .article-references a {
  color: var(--article-accent);
  text-decoration: underline;
  text-decoration-color: var(--article-outline);
  text-underline-offset: 3px;
}
.zetyk-story .inline-citation { white-space: normal; }
.zetyk-story .article-references h2 { font-size: 1.4em; color: var(--article-ink); }
.zetyk-story .article-references li { padding: .35em 0; scroll-margin-top: 2rem; overflow-wrap: anywhere; }
.zetyk-story .article-references li:target { background: var(--article-surface); }
.zetyk-story .article-share { gap: 8px; }
.zetyk-story .article-share a, .zetyk-story .article-share button {
  color: var(--article-accent);
  border-color: var(--article-outline);
  background: var(--article-surface);
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: flex-start;
}
.share-heading { color: var(--article-ink); font-weight: 700; font-size: .8rem; margin-bottom: 3px; }
.share-icon { flex: 0 0 16px; width: 16px; height: 16px; }

.article-diagram {
  margin: clamp(2rem, 6vw, 3.6rem) 0;
  padding: clamp(16px, 4vw, 34px);
  border-radius: 24px;
  background: #f0ecdf;
  color: #202535;
  font-family: system-ui, sans-serif;
}
.article-diagram figcaption {
  margin: 0 0 .7em;
  color: inherit;
  font-size: clamp(24px, 3.9vw, 37px);
  font-weight: 750;
  letter-spacing: -.03em;
  line-height: 1.15;
  text-wrap: balance;
}
.diagram-branches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 12px;
}
.diagram-branch {
  --diagram-accent: #2a5e6c;
  --diagram-tint: #cfe8eb;
  --diagram-paper: #fdfaf3;
  min-width: 0;
  padding: clamp(13px, 2vw, 21px);
  border-radius: 15px;
  background: var(--diagram-paper);
}
.diagram-branch:nth-child(2) { --diagram-accent: #794c23; --diagram-tint: #f4dbad; }
.diagram-branch:nth-child(3) { --diagram-accent: #35614d; --diagram-tint: #d6e8cf; }
.diagram-branch:nth-child(4) { --diagram-accent: #774255; --diagram-tint: #efd5dd; }
.diagram-branch-heading { display: flex; gap: .65rem; align-items: center; margin-bottom: 14px; }
.diagram-branch-heading h3 {
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 740;
  letter-spacing: -.018em;
  line-height: 1.15;
  color: var(--diagram-accent);
}
.diagram-illustration {
  flex: none;
  width: 55px;
  height: 55px;
  padding: 6px;
  color: var(--diagram-accent);
  background: var(--diagram-tint);
  border-radius: 15px;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linejoin: round;
  stroke-linecap: round;
  fill: none;
}
.diagram-illustration .diagram-tint { fill: var(--diagram-tint); }
.diagram-illustration .diagram-mark { fill: #eab568; }
.diagram-illustration .diagram-paper { fill: var(--diagram-paper); }
.diagram-pairs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1.5vw, 16px);
  margin: 0;
}
.diagram-pair { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 0; }
.diagram-pair dt { font-size: .95rem; font-weight: 700; line-height: 1.32; }
.diagram-pair dd { margin: 0; color: #3b4150; font-size: .9rem; line-height: 1.36; }
.diagram-pair dd::before {
  display: block;
  content: "";
  width: 10px;
  height: 15px;
  margin-block: 4px;
  background: var(--diagram-accent);
  clip-path: polygon(41% 0, 59% 0, 59% 67%, 83% 53%, 100% 64%, 50% 100%, 0 64%, 17% 53%, 41% 67%);
}

.zetyk-infographic { margin: clamp(1.8rem, 5vw, 3rem) 0; scroll-margin-top: 2rem; }
.zetyk-infographic figcaption { color: var(--article-ink); font-size: 1.08em; margin-bottom: .6em; }
.zetyk-infographic img { width: 100%; height: auto; border-radius: 12px; background: #f9f6eb; }
.zetyk-infographic > a:first-of-type { display: block; }
.image-download { display: inline-flex; width: max-content; max-width: 100%; margin-top: 12px; color: var(--article-accent); border: 1px solid var(--article-outline); border-radius: 8px; padding: .45em .75em; font-weight: 700; font-size: .88em; }
.graphic-description { margin-top: 12px; font-size: .86em; }
.graphic-description summary { cursor: pointer; color: var(--article-accent); }
.graphic-description li, .graphic-description p { line-height: 1.6; margin: .3em 0; }

.reading-progress {
  position: fixed;
  top: 0;
  z-index: 20;
  inset-inline: 0;
  pointer-events: none;
  text-align: right;
  color: var(--article-ink);
  font-size: .73rem;
  line-height: 1;
  padding: 0 12px 8px;
  font-weight: 700;
  background: #f8f6f0f0;
}
.reading-progress progress { display: block; width: calc(100% + 24px); height: 4px; margin: 0 -12px 8px; border: 0; appearance: none; background: #e4ddd0; }
.reading-progress progress::-webkit-progress-bar { background: #e4ddd0; }
.reading-progress progress::-webkit-progress-value { background: var(--article-accent); }
.reading-progress progress::-moz-progress-bar { background: var(--article-accent); }

.article-page .read-next h2 { color: var(--article-ink); font-size: clamp(25px, 3.15vw, 39px); }
.article-page .read-next .news-card { background: #fffdfa; border-color: #e5ddcf; }
.article-page .read-next .news-card h3 { color: var(--article-ink); font-size: clamp(19px, 1.9vw, 25px); line-height: 1.17; }
.article-page .read-next .news-card p { color: var(--article-soft); }
.article-page .read-next .news-card-copy > span { color: var(--article-accent); }
.article-page .footer small { border: 0; padding: 0; }
.article-page .footer-links { flex-wrap: wrap; }

@media (max-width: 680px) {
  .zetyk-story .editorial-hero { min-height: 0; }
  .zetyk-story .editorial-cover {
    width: 100%;
    height: 64%;
    mask-image: none;
  }
  .zetyk-story .editorial-hero::after {
    background: linear-gradient(180deg, var(--article-paper), transparent 18%),
                linear-gradient(0deg, var(--article-paper) 37%, #f8f6f0c2 52%, #f8f6f00f 76%);
  }
  .zetyk-story .editorial-intro { padding-block: clamp(160px, 49vw, 275px) 22px; }
  .zetyk-story .article-share { align-items: center; }
  .share-heading { flex-basis: 100%; }
  .zetyk-story .article-share a, .zetyk-story .article-share button { padding-inline: 8px; min-height: 36px; }
}
@media (max-width: 560px) {
  .diagram-branches { grid-template-columns: minmax(0, 1fr); }
  .diagram-illustration { width: 48px; height: 48px; }
}

.zetyk-story .editorial-layout { display: block; max-width: 930px; }
.zetyk-story .editorial-body p { text-align: justify; hyphens: auto; }
.zetyk-story .article-share { position: static; flex-flow: row wrap; align-items: center; column-gap: 9px; margin: 2.75rem 0; }
.zetyk-story .article-share a, .zetyk-story .article-share button { color: #4a331a; background: #f2e9d7; border-color: #d2b583; }
.article-share .share-heading { flex-basis: 100%; font-size: .94rem; }
.zetyk-story .reading-progress { z-index: 60; left: auto; right: 13px; top: auto; bottom: 13px; width: auto; min-width: 101px; padding: 7px 10px 8px; border: 1px solid #d0b17d; border-radius: 10px; background: #f8efde; box-shadow: 0 2px 10px #2b211822; }
.zetyk-story .reading-progress progress { width: 100%; margin: 0 0 5px; border-radius: 10px; background: #e5d7bf; }
.zetyk-story .reading-progress progress::-webkit-progress-value { background: #95692d; }
.zetyk-story .reading-progress progress::-moz-progress-bar { background: #95692d; }
.story-takeaway { padding: 1.05em 1.25em; background: #f1e8d5; color: #4c321b; border-radius: 16px; text-align: start; margin: 1.5rem 0; line-height: 1.54; }
.story-takeaway p { text-align: start !important; }
.story-takeaway strong { display: block; font-size: .8rem; margin: 0 0 .3rem; color: #6b4726; }

.deep-infographic { margin: clamp(2rem, 7vw, 4.5rem) 0; scroll-margin-top: 108px; }
.deep-infographic > a:first-child { display: block; }
.deep-infographic img { width: 100%; height: auto; border-radius: 18px; }
.deep-infographic .graphic-description { margin-top: 13px; }
.deep-infographic details li { margin-top: .8em; }
.deep-infographic details ul { padding-inline-start: 1.15em; }
.story-illustration { margin: 2.2rem 0; }
.story-illustration img { height: auto; border-radius: 15px; }
.story-illustration figcaption { color: #594f41; margin-top: .65em; font-size: .88rem; font-weight: 550; line-height: 1.45; }

.editorial-body .zetyk-discussion {
  margin-top: 3rem;
  padding: clamp(17px, 4vw, 35px);
  border-radius: 21px;
  background: #f1ebdf;
  color: #25232a;
}
.zetyk-discussion h2 { font-size: clamp(24px, 3vw, 36px); color: #2b2521; }
.zetyk-discussion .debate-question { font-size: clamp(17px, 2.3vw, 21px); line-height: 1.55; font-weight: 650; text-align: start; }
.discussion-form { margin-top: 1.6rem; }
.discussion-form fieldset { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.discussion-form legend { font-weight: 750; }
.discussion-form label { display: block; margin-top: .75rem; font-size: .9rem; font-weight: 650; }
.discussion-form input:not([type=checkbox]), .discussion-form textarea { display: block; width: 100%; margin-top: .32em; padding: .68em; border: 1px solid #b5a488; border-radius: 9px; font: inherit; color: inherit; background: #fffefa; }
.discussion-form button { margin: .75rem .4rem 0 0; min-height: 43px; padding: .55em .85em; border: 1px solid #b6905a; border-radius: 9px; background: #ebd4a6; color: #352311; font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; }
.discussion-form button:hover { background: #f3ddb2; }
.discussion-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.discussion-note, .discussion-status { font-size: .84rem; margin-top: .45rem; }
.conversation-list { list-style: none; padding: 0; margin: 1.4rem 0; }
.conversation-list li { padding: .85rem 1rem; margin: .5rem 0; border-radius: 11px; background: #fcf9f2; overflow-wrap: anywhere; }
@media (max-width: 560px) { .discussion-fields { grid-template-columns: 1fr; gap: 0; } .story-takeaway p { line-height: 1.45; } }

.documented-case {
  padding: clamp(20px, 4.4vw, 40px);
  border-radius: 22px;
  background: #efe8d9;
}
.documented-case .case-label { color: #6a492b; font-size: .83rem; font-weight: 730; text-align: start; margin: 0 0 .55em; }
.documented-case h2 { color: #2f2520; font-size: clamp(24px, 3vw, 35px); margin-bottom: .7em; }
.documented-case p + p { margin-top: .82em; }

.article-pillars { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 1.03rem; }
.article-pillars a { padding: .36rem .69rem; border: 1px solid #a37a4d70; border-radius: 100px; background: #f8f0deee; color: #52371d; font-size: clamp(11px, 1.25vw, 13px); font-weight: 700; }
.article-pillars a:hover { background: #f1d6a5; }

.zetyk-story .reading-progress {
  inset: auto auto var(--share-bottom) var(--share-edge);
  z-index: 18;
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: var(--share-row-height);
  align-items: center;
  gap: .43em .62em;
  padding: 9px 11px;
  color: #2e2013;
  text-align: start;
  background: #fff5e3;
  font-size: .7rem;
  font-weight: 700;
}
.zetyk-story .reading-progress strong { font-size: .86rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.zetyk-story .reading-progress progress { grid-row: 2; grid-column: 1 / -1; height: 4px; margin: 0; }
.zetyk-story {
  --share-width: 10rem;
  --share-edge: 16px;
  --share-bottom: 16px;
  --share-row-height: 44px;
}
.zetyk-story .share-rail {
  z-index: 16;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 5px;
}
.rail-social-links { display: grid; gap: 5px; }
.zetyk-story .share-rail :is(a,button) {
  justify-content: flex-start;
  align-items: center;
  gap: .55rem;
  min-height: var(--share-row-height);
  width: var(--share-width);
  border: 1px solid #c5a46f;
  border-radius: 13px;
  padding: .45rem .68rem;
  background: #fff6e5;
  color: #61401e;
  font-size: .8rem;
  font-weight: 650;
  text-align: start;
  box-shadow: 0 4px 11px #33252216;
  cursor: pointer;
}
.zetyk-story .share-rail :is(a,button):hover, .zetyk-story .share-rail .is-copied { background: #edcd8f; color: #2c1c0f; }
.share-rail .share-icon { flex: 0 0 18px; width: 18px; height: 18px; }
.share-rail :is(a,button):focus-visible { outline-color: #805827; outline-offset: -3px; }
.zetyk-story .share-rail .rail-toggle { display: none; }
@media (min-width: 1200px) {
  .zetyk-story .article-tools {
    position: fixed;
    inset: 50% 0 auto;
    z-index: 18;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-inline-start: max(var(--share-edge), calc((100vw - var(--page)) / 2 + var(--share-edge)));
    padding-inline-end: max(var(--share-edge), calc((100vw - 1200px) / 2));
    transform: translateY(-50%);
    pointer-events: none;
  }
  .zetyk-story .reading-progress { position: static; order: 1; }
  .zetyk-story .share-rail { pointer-events: auto; }
  .zetyk-story .editorial-intro { padding-inline-start: calc(var(--share-edge) + var(--share-width) + 20px); }
}
@media (max-width: 1199px) {
  .zetyk-story .share-rail { margin: 0 var(--gutter) 1rem; align-items: start; }
  .zetyk-story .share-rail[data-rail-ready] { position: fixed; inset: auto var(--share-edge) var(--share-bottom) auto; margin: 0; }
  .zetyk-story .share-rail .rail-toggle { display: inline-flex; width: max-content; }
  .zetyk-story .share-rail[data-rail-ready]:not(.rail-open) .rail-social-links { display: none; }
  .zetyk-story .share-rail.rail-open .rail-social-links {
    position: absolute;
    inset: auto -5px calc(100% + 4px) auto;
    max-height: calc(100dvh - var(--site-header-height) - var(--share-bottom) - 72px);
    overflow: auto;
    padding: 5px;
  }
}
@media (max-width: 850px) {
  .zetyk-story { --share-bottom: calc(63px + var(--dock-padding, 8px)); }
}
.deep-infographic .image-enlarge { margin-inline-end: 8px; }
.deep-infographic .graphic-description > p, .deep-infographic .graphic-description li { text-align: start; }

.article-whiteboard { margin: clamp(1.7rem, 4vw, 2.75rem) 0 clamp(1.8rem, 5vw, 3.2rem); }
.whiteboard-image { position: relative; display: block; cursor: zoom-in; }
.whiteboard-image:focus-visible { outline: 2px solid #9a6924; outline-offset: 4px; border-radius: clamp(8px, 1.6vw, 18px); }
.whiteboard-image img { display: block; width: 100%; height: auto; border-radius: clamp(8px, 1.6vw, 18px); }
.whiteboard-control {
  display: inline-grid; place-items: center; inline-size: 44px; block-size: 44px;
  padding: 0; border: 1px solid #dbceb6; border-radius: 10px; background: #25231ff2;
  color: #fff7e6; cursor: pointer; box-shadow: 0 2px 8px #221b162e;
}
.whiteboard-control:hover { background: #45351f; }
.whiteboard-control:focus-visible { outline: 2px solid #c38932; outline-offset: 3px; }
.whiteboard-control svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.whiteboard-expand {
  position: absolute; inset: auto clamp(13px, 2vw, 23px) clamp(13px, 2vw, 23px) auto;
  width: 23px; height: 23px; fill: none; stroke: #241e17; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 1px #fff8e9) drop-shadow(0 0 2px #fff8e9);
}
.whiteboard-dialog {
  position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh;
  max-width: none; max-height: none; padding: 0; margin: 0; overflow: hidden;
  border: 0; border-radius: 0; background: #181612; color: #fff7e6;
}
.whiteboard-dialog[open] { display: grid; }
.whiteboard-dialog::backdrop { background: #181612; }
html:has(.whiteboard-dialog[open]) { overflow: hidden; }
.whiteboard-stage { position: absolute; inset: 0; display: grid; place-items: center; overflow: auto; overscroll-behavior: contain; }
.whiteboard-stage img { display: block; width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.whiteboard-stage.is-zoomed { display: block; }
.whiteboard-stage.is-zoomed img { width: max(135%, 1100px); max-width: none; max-height: none; margin-inline: auto; }
.whiteboard-actions {
  position: absolute; z-index: 1; display: flex; gap: 8px;
  top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right));
}
.whiteboard-actions form { margin: 0; }
.whiteboard-zoom[aria-pressed="true"] .whiteboard-zoom-plus { display: none; }
.article-whiteboard figcaption { margin-top: .75rem; color: var(--article-soft); font-weight: 500; }
.article-whiteboard .graphic-description { margin-top: .7rem; }
.article-whiteboard .graphic-description summary { font-weight: 700; }
.article-whiteboard .graphic-description li { margin-top: .5rem; }
